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.
- Anonymous asked 15 years ago
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.
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 !!!)
Here it is (with a simple example) :
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
Please login first to submit.