Sign In:     


Forum: Old versions

Topic: BPM value in XML database file

This topic is old and might contain outdated or incorrect information.

If I look into the database XML file I see a different figure for the BPM value than what is displayed on my screen.

Ex.: on the screen I see 130,0 while the XML file shows: BPM Bpm=20355

What is the conversion of formule?
I like to update some BPM values directly in the XML file via my own made Vb program.

thx
 

Posted Thu 28 Jul 05 @ 11:37 pm
the value is the number of samples at 44kHz between two beats.

So the conversion is realBpm=60*44100/xmlValue
 

the integer stored in the xml database file reffers to the number of samples between each beat. The phase atribute is the number of samples from the start of the file that the first CBG4 occours. If you look at any of the other values it becomes apparent that they are all measured using this system, probably because its more similar to the way the program runs and does therefor not need to convert a stored bpm into someting it can work with. after all thats the reason we have binary, octal, hexedecimal, machine code and all these other computer oriented methods of data.

but to answer you question how to convert....if the song is a 48khz song that means there are 48,000 samples per second and therefor 2,880,000 per minet. so simply divide that number by the values you have to get the number of beats that would occour in one minet (or just BPM).
 

Thx all for the feedback, it's clear for me.

Johans
 

If you think your program could be interesting for other users, don't be afraid to upload it on this website, section plugins ;-)
 

Yep, this is my intention once it is more or less finished

Johans
 



(Old topics and forums are automatically closed)