0
0

Hiyas, once again I come to you with a problem. Now I seem to have solved all my stream problems and 3.4’s specturm simply rocks.

I use VB, and am tring to figure out how to find the ending of a xm, it, mod, or s3m, considering that the pattern can jump itself all over the place, and the time functions just simply keep counting up, not acutall return the song postion time.  I'am sure there must be a way to acutally figure out how or when this type of music should end but how, any ideas?

Thanks again in advance.

++Cire.

  • You must to post comments
0
0

I ve used some code from the vuplayer (http://www.vuplayer.com/) wich try to calculate module length. It isn’t 100 % accurate but it does the work. I ll post the DLL with the exported function today but now i must go sleep (it s 09:27 am !!!) :smile:

  • You must to post comments
0
0

Here it is (with a simple example) :
http://www.multimania.com/xxkarlkoxxx/Prog/ModTime.rar

NOTE : all the work was done entirely by James Chapman, you can grab the source i used here : http://www.btinternet.com/~jfchapman/files/VUsource.zip

  • You must to post comments
0
0

Some MODs are never meant to end, so how do you calculate the length of these? Even WinAmp has problems with this, calculating the length of one of the songs I have as 293740 minutes and 46 seconds.

  • You must to post comments
0
0

i always get 0.

  • You must to post comments
0
0

Hey I just found out that if u ignore the pattern stuff, and go by the orders, u can figure out when the song should end. At least it works for me, just keep a last track of the current order and when it jumps back end the song. Seems to work for me. I tested this on several differnet mods, s3m’s and xm’s.

Hope this helps.

++Cire.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.