Hi,
In the XML database, BPM elements are written like:
<BPM Bpm="19174" Phase="3433" />
Can anyone tell me how to convert from the above value to the actual BPM value?
It can't be a simple multiplicative value, because the above data corresponds to an actual BPM of 138.0, which would mean an multiplicative value of 138.9420289855072463768115942029 (because 19174/138=138.9420289855072463768115942029)
but - another track has:
<BPM Bpm="18899" Phase="1980" />
which has an actual BPM value of 140.0
and 18899/140=134.99285714285714285714285714286
the database Bpm fields must combine with another field somewhere to get the actual BPMs?
Please help! I really could do with understanding these DB Bpm values before I start examining my DBs this evening (investigating a BPM scanner issue).
Thank you,
Nick
In the XML database, BPM elements are written like:
<BPM Bpm="19174" Phase="3433" />
Can anyone tell me how to convert from the above value to the actual BPM value?
It can't be a simple multiplicative value, because the above data corresponds to an actual BPM of 138.0, which would mean an multiplicative value of 138.9420289855072463768115942029 (because 19174/138=138.9420289855072463768115942029)
but - another track has:
<BPM Bpm="18899" Phase="1980" />
which has an actual BPM value of 140.0
and 18899/140=134.99285714285714285714285714286
the database Bpm fields must combine with another field somewhere to get the actual BPMs?
Please help! I really could do with understanding these DB Bpm values before I start examining my DBs this evening (investigating a BPM scanner issue).
Thank you,
Nick
Inviato Fri 19 Jul 13 @ 2:50 pm
try and factor in the length of the tracks using the difference between the real start time and end time
Inviato Fri 19 Jul 13 @ 3:36 pm
Thanks for your suggestion. Working on it now.
SongLength="22068864", but RealStart="0" RealEnd="22052864"
so SongLength > RealEnd - RealStart
The difference between them is 16000
But RealStart and RealEnd are fields for Automix, so I don't think they'll factor in BPM ('cos some tracks don't use automix).
SongLength="22068864", but RealStart="0" RealEnd="22052864"
so SongLength > RealEnd - RealStart
The difference between them is 16000
But RealStart and RealEnd are fields for Automix, so I don't think they'll factor in BPM ('cos some tracks don't use automix).
Inviato Fri 19 Jul 13 @ 4:01 pm
Found the answer! :)
http://de.virtualdj.com/forums/14488/PC_Version_Technical_Support/BPM_value_in_XML_database_file.html
The XML 'BPM' is "the number of samples at 44kHz between two beats"
The conversion formula is:
actualBpm=60*44100/xmlValue
so for example, I have an XML BPM of 18899,
actualBpm=60*44100/18899=140.00740779935446319911106407746
and the actual BPM is indeed 140 BPM
http://de.virtualdj.com/forums/14488/PC_Version_Technical_Support/BPM_value_in_XML_database_file.html
The XML 'BPM' is "the number of samples at 44kHz between two beats"
The conversion formula is:
actualBpm=60*44100/xmlValue
so for example, I have an XML BPM of 18899,
actualBpm=60*44100/18899=140.00740779935446319911106407746
and the actual BPM is indeed 140 BPM
Inviato Fri 19 Jul 13 @ 4:21 pm
nice one!
I guess that's why my VCI-400 soundcard doesn't work with VDJ, it's set at 96khz
I guess that's why my VCI-400 soundcard doesn't work with VDJ, it's set at 96khz
Inviato Fri 19 Jul 13 @ 4:27 pm
Could be... but I'm more physicist than electronic engineer :)
Inviato Fri 19 Jul 13 @ 9:05 pm