Anmelden:     


Forum: General Discussion

Topic: XML Database and Song Duration

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

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?
 

geposted 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.
 

Wow cj! Did you not realize that post was dated since 06? Lol
 

Very old topic from 2006 closed.
 



(Alte Themen und Foren werden automatisch geschlossen)