Se Connecter:     


Forum: General Discussion

Sujet: XML Database and Song Duration

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

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.
 

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

Very old topic from 2006 closed.
 



(Les anciens sujets et forums sont automatiquement fermés)