Thursday, January 10, 2013

Sound Effects

Sound effects are sort of loading.  As I was hoping, they're basically just a single-channel version of the music data, so I can use the same code to process them. 

Not sure how the sampling works for them yet, but the music samples start at 0x20, so I'd have to imagine 00 through 1F are reserved for these.  There are 5F3 bytes loaded into SPC RAM at 0x4800 from 31AE2 in the ROM, that appear directly before the music samples (which are swapped in and out dynamically as songs are loaded, whereas this block is loaded on game startup along with the effects themselves) -- I'd guess this block has the samples I'm looking for.

No comments: