Finding the tempo of SNES SPCs using SNESAPU.DLL

DiscostewSM

Well-Known Member
OP
Member
Joined
Feb 10, 2009
Messages
5,484
Trophies
2
Location
Sacramento, California
Website
lazerlight.x10.mx
XP
5,488
Country
United States
So I'm looking to convert SPCs to another format, and I am using SNESAPU.DLL to handle the emulation of them as I grab DSP/Voice information. I can grab when notes trigger, their pitch, panning, etc, but because they output to these raw values, it leaves out an important detail which the different format needs, and that is the tempo. Now, I could just set some flat constant tempo for every single SPC I convert, but I don't think that's very ideal. I could even use some BPM app or webpage as the music plays to figure out a suitable tempo, and input that as it makes the conversion, but I'd really like to have this handled all automatically.

My initial idea was to get the amount of time that would pass for each tempo in a given range (like between 30 and 750) for the shortest note length the different format would support, and work from there, but that royally screwed up as it doesn't really find a "beat". My next idea is working off of when multiple channels trigger notes at the same time throughout a song limited by time, and find when it seems consistent enough in a given sequence, but that could also end in failure.

Maybe one of you fine folks know a better way to do this from a programming standpoint. I don't consider myself musically inclined (more like musically challenged), so maybe I'm going about this the wrong way.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: :discuss: