Using the XML Database for Virtual DJ what is the formula to make the song length information more meaningfull and transform it into the "Minute:Second" format?
Posté Tue 09 May 06 @ 10:47 am
The duration and the bpm information are both stored relative to the sample frequency. Assuming the song is 44100 HZ (common for digital audio) the equation for converting to minutes would be:
(SongLength in XML File) / (44100 * 60)
You can then calculate out the seconds by multiplying the remainder by seconds.
(SongLength in XML File) / (44100 * 60)
You can then calculate out the seconds by multiplying the remainder by seconds.
Posté Fri 07 Jun 13 @ 3:49 pm
Wow cj! Did you not realize that post was dated since 06? Lol
Posté Fri 07 Jun 13 @ 5:25 pm
Very old topic from 2006 closed.
Posté Fri 07 Jun 13 @ 6:03 pm