How to get the loop starting point of a bcstm file?

Discussion in '3DS - Homebrew Development and Emulators' started by bunny365, Oct 28, 2015.

  1. bunny365
    OP

    bunny365 GBAtemp Regular

    Member
    241
    87
    Aug 26, 2013
    United States
    How do I programmatically get the loop starting point of a bcstm file in seconds? I'm using PHP.
     
  2. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    4,679
    2,507
    Dec 8, 2014
    United States
    Ohio
    What?

    Not sure in php, but you can use everyfileexplorer to extract wavs from bcstms and that might help you in some way. Probably not, just throwing something out there
     
  3. br3compactor

    br3compactor GBAtemp Regular

    Member
    101
    33
    May 1, 2015
    Brazil
    In seconds? Assuming you're doing programming, it'd probably be easier or more accurate to use samples instead of seconds...
     
  4. bunny365
    OP

    bunny365 GBAtemp Regular

    Member
    241
    87
    Aug 26, 2013
    United States
    It's for 3DSThem.es. I'm making it so when the BGM preview ends, it'll seek back to the beginning of the loop using JavaScript. I have to get it in seconds.