calc remaining time from position signal
Posted: Wed May 04, 2005 9:53 am
Hey everbody
is three a way to calculate the played time / remaining time ... just from the position info and the length of the current song.?
I know that the objects can output those values directly, but I'm using a javaUI which is not running via mxj (as I unfortunatly can't avoid crackling sounds in the audio this way), but use UDP messages for the communication.
In order not to send to many info this way, I hope just to send the two position signals and, whenever a new song gets loaded, its length to my javaUI and calc the time info in there.
Any ideas how to do this??
Cheers
Achim
is three a way to calculate the played time / remaining time ... just from the position info and the length of the current song.?
I know that the objects can output those values directly, but I'm using a javaUI which is not running via mxj (as I unfortunatly can't avoid crackling sounds in the audio this way), but use UDP messages for the communication.
In order not to send to many info this way, I hope just to send the two position signals and, whenever a new song gets loaded, its length to my javaUI and calc the time info in there.
Any ideas how to do this??
Cheers
Achim