Register - Login
Views: 99794580
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 05:16:11 AM
Jul - General Game/ROM Hacking - How does SNESSOR95 work? New poll - New thread - New reply
Next newer thread | Next older thread
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

Posted on 10-24-13 01:40:53 PM Link | Quote
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: 14931843
For next: 406362

Since: 04-29-08

Pronouns: any
From: FL

Since last post: 306 days
Last activity: 3 days

Posted on 10-24-13 06:05:38 PM Link | Quote
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
Next newer thread | Next older thread
Jul - General Game/ROM Hacking - How does SNESSOR95 work? New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

27 database queries.
Query execution time: 0.079518 seconds
Script execution time: 0.004940 seconds
Total render time: 0.084458 seconds