From Sonic Retro
|SCHG: Sonic Jam|
According to my research so far, most samples are in a signed 8-bit mono format, with a sample rate of 22050Hz. Each byte is a building block (a "sample") of the sample as a whole.
There are some exceptions, though.
Some samples are "stereo", in that the sample is in the left ear, while there's data/code in the right ear. The stereo format has every other sample starting with the first be in the left ear, and every other sample starting with the second be in the right ear. Due to every other sample being used, these have a halved sample rate; 11025Hz instead of 22050Hz.
In addition, some simply have different sample rates despite being mono.
Here's a map of samples that can be found in SWORLD.SND. Start and end addresses are inclusive; they're part of the sample.
NOTE: Sample start and end times are currently estimates based on looking at the waveform and patterns in the hex. Finding the exact start and end of each sample will likely require digging into the code.
|Start Address||End Address||Description||Notes|
|$0FF92||$112B1||Bass Guitar||Stereo. Sample's in left ear.|
|$14D32||$1512F||Sawtooth?||Unsure if sample(s). Stereo, sawtooth in left ear, but right ear's a pair of sawtooth samples that seem to be stereo too.|
|$1671A||$1CB3B||Bass Drum(?)||Stereo. Sample's in left ear.|
|$2982F||$2AD8F||Electric Piano||Has an almost bell sound to it.|
|$2EEC8||$2F287||Saxophone?||Sample's too short to easily tell.|
|$2FEDE||$311FD||Museum Confirm||Not full sound, just the sample used to play it.|
|$32950||$32BAF||Mission Button||Played on press and release.|
|$32BB0||$358D1||Big Ring Warp|
|$35B22||$36548||Landing||Played when Sonic lands on the ground.|
|$36E69||$37A11||Spring||Mono, sample rate 11025Hz.|
|$37A12||$381FD||Unknown||Unsure if sample. Stereo, left ear is sine wave, right ear seems like noise.|
|$381FE||$399F9||Code Monitor||Played on interaction.|
|$3DCF4||$3FBDE||Unknown||Sounds like rustling, but sounds different from the in-game trees/bushes.|
|$40021||$423D1||Electric Organ||Stereo, sample's in left, right is data/code.|