. - .
 
Hively Tracker
News ::  About ::  Forum ::  Download ::  Tunes ::  Screenshots ::  Competition ::  Links
 
. - .
. - .
 
User 
Password 
Create new account
 
. - .

. - .
 
Cool Sites
 
. - .

. - .
 
Link to us
 
. - .

. - .
  Forums > Hively Tracker Support > songlenght calculation?

Page: 1

songlenght calculation?

spotUP
Posted: 2009-01-21 07:21:54
Moderator
Posts: 197

Member since:
2006-12-15 18:06:32
hi

is there a way to detect song lenght/end in the replayer?

http://www.uprough.net
Xeron
Posted: 2009-01-21 11:09:58
Supreme Being
Posts: 448

Member since:
2006-12-13 11:34:00
Not perfectly. The way the XMPlay plugin does it is to decode the song from start to end, as fast as possible.

The replayer has a "songenddetected" flag which would work for most mods, although it may be possible to fool it. It also would also not work properly for songs that end with an "F00" command and leave sounds playing.

The XMPlay plugin has a fancy silence detector. Maybe Pieknyman would share that with you if you asked.

AHX forever!

Page: 1
 
. - .