Raccoon Sam
Member free speech disabled
Level: 32
   

Posts: 163/187
EXP: 187838 For next: 18604
Since: 07-25-07
From: Somewhat
Since last post: 4.5 years Last activity: 1.1 years
|
|
How does Snessor95 exactly find its samples? I mean, it can find practically any sample from any snes game with a push of a button; how does it know what exactly IS sample data? Is there a BRR format specification somewhere?
I want to get involved in a SNES sample utility development but I don't even know where to start.
Thanks. |
devin
 Yoshi i'm mima irl
Level: 112
   

Posts: 2907/3519
EXP: 14931831 For next: 406374
Since: 04-29-08
Pronouns: any
From: FL
Since last post: 306 days Last activity: 3 days
|
|
There's an overview of how BRR works on Wikipedia: http://en.wikipedia.org/wiki/Bit_Rate_Reduction
My first guess is that SNESSOR just brute forces its way through the file and discards anything that might be invalid. This article mentions one possible scenario that would mark potential sample data as invalid, but I don't know if that's what SNESSOR does; regardless, you could probably implement it in a sample ripper of your own and get similar results. (You'd likely get false positives as well, but so does SNESSOR already.)
Ripping samples from SPC files is simpler, since the SNES DSP uses an actual table of samples in audio RAM, but the downside is that you're not likely to get a game's entire set of samples from a single SPC file.
____________________ Photo by Luc Viatour |