23 May '13 - 00:54 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: IT module replay issue  (Read 2171 times)
piovrauz
Posts: 473


« on: 5 Oct '10 - 11:57 »
Reply with quoteQuote

Something strange is happening when I play an old module. Repeat always is checked. it play fine the first time, but when it's supposed to repeat, it starts very slow. I suppose there's some speed setting at the end, but shouldn't it be reset when replaying? it's not a looped module, so I suppose the wrong speed is set in the end of it and get carried when replaying the track. any idea? maybe a reset? -"terror 4 ever.it" is on the ftp-
Logged
saga
Posts: 1365


« Reply #1 on: 5 Oct '10 - 13:47 »
Reply with quoteQuote

Looping modules does not work like looping streamed media like MP3. None of the internal variables are supposed to be reset when looping a module - you can check yourself by playing the file in Impulse Tracker. Whatever tempo the module was at when it reached the last pattern, that tempo is not supposed to change when returning to the first pattern, unless there's an explicit tempo command on the first pattern.
Logged
piovrauz
Posts: 473


« Reply #2 on: 5 Oct '10 - 14:11 »
Reply with quoteQuote

I know that saga, but I was thinking differently: I was supposing that looping the module -as a whole-, expecially for non looped module, should be done treating it as it was the first time it played, not just restarting from the first pattern.
In modplug player that module is treated like an mp3 would, so maybe there's something similar to a reset or it's just simply reloaded? maybe it wouldn't hurt putting an option like the midi reset between songs...

After all, a thing is looping a set of pattern, another is repeating a whole song (no loops at the end, obviously).
I suppose this can apply to all -finit lenght- modules that have a tempo change at the end for some reason.
Logged
wrkq
Posts: 77


« Reply #3 on: 5 Oct '10 - 14:14 »
Reply with quoteQuote

Erm, saga, while it's a perfectly proper choice when the mod's self-looping with a jump command at end (or with a flag in file header if supported), it then totally breaks cases like this one, i.e. a mod not meant to be looping that you just want to listen in a loop like you'd want to listen to a MP3.
I guess putting it as the only entry in playlist and ticking Loop List instead of Loop Song would be a workaround for now, but IMO a "Reset MOD on non-automatic(forced?) loop" setting (per-file sure would be cooler, but even a global would help) makes some sense.

ED: Ugh, missed the new post warning, sorry.
Logged
saga
Posts: 1365


« Reply #4 on: 5 Oct '10 - 17:37 »
Reply with quoteQuote

Erm, saga, while it's a perfectly proper choice when the mod's self-looping with a jump command at end (or with a flag in file header if supported), it then totally breaks cases like this one, i.e. a mod not meant to be looping that you just want to listen in a loop like you'd want to listen to a MP3.
That's what ModPlug did for years and it was hated by anyone not using ModPlug to compose their songs. Every other tracker didn't reset the song variables, so the author had to reset them.
Logged
piovrauz
Posts: 473


« Reply #5 on: 7 Oct '10 - 15:40 »
Reply with quoteQuote

Mmmm, I wouldn't hate if xmplay were to have an (hidden) option to do the same think. or even not so hidden, in fact it's a lot like a midi reset.
Actually, to achieve my intended result, I'd have to load 2 time the same track on the playlist and repeat the playlist, but in that way I can't really use the playlist...
Is this request feasible?
Logged
Ian @ un4seen
Administrator
Posts: 15269


« Reply #6 on: 7 Oct '10 - 17:07 »
Reply with quoteQuote

I think an option can be arranged Smiley

I guess it should only apply when the restart position is the 1st order?
Logged
piovrauz
Posts: 473


« Reply #7 on: 7 Oct '10 - 19:38 »
Reply with quoteQuote

nice. It should only apply when the restart position is the 1st order, and the song isn't looping itsef using pattern jump commands (so that it doesn't break songs already designed to loop and actually using speed changes, might be pretty uncommon but...).
Logged
Ian @ un4seen
Administrator
Posts: 15269


« Reply #8 on: 8 Oct '10 - 15:28 »
Reply with quoteQuote

OK, here's something to try...

   www.un4seen.com/stuff/xmplay.exe

Let me know if it misbehaves with any files.
Logged
piovrauz
Posts: 473


« Reply #9 on: 8 Oct '10 - 15:40 »
Reply with quoteQuote

Thanks a lot!
Seems to work perfectly with the specific file I mentioned.
I'll try more looped files when at home and post results.

-edit: sadly, I spotted an issue, xmplay loses the setting upon restart. The module is in a 7zip along with others if it matters.
« Last Edit: 8 Oct '10 - 16:40 by piovrauz » Logged
saga
Posts: 1365


« Reply #10 on: 8 Oct '10 - 18:33 »
Reply with quoteQuote

-edit: sadly, I spotted an issue, xmplay loses the setting upon restart. The module is in a 7zip along with others if it matters.
FWIW, it also "forgets" the position of the vis/playlist window since this update... it always defaults to a small windows place in the upper-left corner of the desktop.
Logged
Ian @ un4seen
Administrator
Posts: 15269


« Reply #11 on: 11 Oct '10 - 14:14 »
Reply with quoteQuote

sadly, I spotted an issue, xmplay loses the setting upon restart.

I think you must've downloaded the update as soon as I posted it? I also noticed that the setting wasn't saved a few minutes later and put up an updated update Smiley

FWIW, it also "forgets" the position of the vis/playlist window since this update... it always defaults to a small windows place in the upper-left corner of the desktop.

Oops! That should be back to normal now...

   www.un4seen.com/stuff/xmplay.exe
Logged
piovrauz
Posts: 473


« Reply #12 on: 12 Oct '10 - 08:02 »
Reply with quoteQuote

prrrrfect meow! ehm, works as supposed now. thanks a lot. will test with more modules as soon I get some time.
Logged
saga
Posts: 1365


« Reply #13 on: 20 Oct '10 - 16:52 »
Reply with quoteQuote

OK, here's something to try...

   www.un4seen.com/stuff/xmplay.exe

Let me know if it misbehaves with any files.

It breaks Seldom Seen.
Logged
Ian @ un4seen
Administrator
Posts: 15269


« Reply #14 on: 21 Oct '10 - 16:47 »
Reply with quoteQuote

Yep, it was actually resetting any time the end was reached, regardless of the restart position. But I'm thinking now that it may be better to use the loop detection (rather than the restart position) to determine whether to reset, as there may be songs that are meant to loop (without resetting) from the 1st order? Here's an update with that change...

   www.un4seen.com/stuff/xmplay.exe

Let me know if it causes any problems.
Logged
saga
Posts: 1365


« Reply #15 on: 21 Oct '10 - 17:12 »
Reply with quoteQuote

I also guess that this is the better option.
Logged
piovrauz
Posts: 473


« Reply #16 on: 22 Oct '10 - 08:53 »
Reply with quoteQuote

yup, that's what I meant saying "should only apply when the restart position is the 1st order, and the song isn't looping itsef using pattern jump commands". I'll test later with files that aren't supposed to loop. thaanks for the fix.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines