ModPlug Central

OpenMPT => Help and Questions => Topic started by: cerror on January 09, 2016, 18:57:41

Title: Amiga 1200 playback goes wrong
Post by: cerror on January 09, 2016, 18:57:41
HALP!

I have this really weird problem with openMPT / amiga.

I am tracking this mod in openMPT (because easier) and when I play it in any tracker/player on my amiga 1200 it sounds like the samples swap.

Edit:
This is how it sounds.
First part is openMPT, second one is Hippoplayer on amiga 1200.
https://www.dropbox.com/s/3wygczm6e87v8bt/miami%20fuckup_mixdown.mp3?dl=0

I am using the latest openMPT, with all sample frequencies on 8363hz and the limits and 1/2 mode on. (tried without and with)

Eagleplayer/Hippoplayer/Any protracker, all of them play them wrong.
Anybody any idea what's going on?
Title: Re: Amiga 1200 playback goes wrong
Post by: Saga Musix on January 09, 2016, 22:54:30
I can't say anything about that without looking at the actual module.
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 09, 2016, 23:12:54
Here it is.  :)
See attachment
Title: Re: Amiga 1200 playback goes wrong
Post by: Saga Musix on January 09, 2016, 23:40:10
Most Amiga players will only support notes C-4 to A#6. Your first note on channel 3 exceeds that range. That's also why it's highlit in red. :)
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 09, 2016, 23:48:59
Still doesn't explain the second part.
Title: Re: Amiga 1200 playback goes wrong
Post by: Saga Musix on January 09, 2016, 23:53:14
Did you fix the first part and check if plays correctly, though? It could be that the first pattern somehow breaks the replay engine in a way that affects its future output. I only tested it with an A500 config in WinUAE where it works without problems apparently (using ProTracker 2.3d).
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 00:11:08
Good one, i'll try that tomorrow!
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 10:25:37
Still the same problem :'(
Title: Re: Amiga 1200 playback goes wrong
Post by: LPChip on January 10, 2016, 12:55:32
Hey Cerror!!! (http://img.photobucket.com/albums/v608/AngelsKiss68/Smilies2/Hi.gif)
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 13:00:19
Hey Leon!!!! :D
Title: Re: Amiga 1200 playback goes wrong
Post by: Saga Musix on January 10, 2016, 13:19:14
Really strange. I asked eightbitbubsy for help as he knows quite a bit more about Amiga play routines than I do, but we both couldn't come to a conclusion.
So here are a few more things to try to hopefully get some ideas:
1) Remove all unused samples through OpenMPT's Cleanup dialog. It could be an out-of-memory issue but we doubt that since even a stock A1200 should have plenty of memory to load a 170K module.
2) If that still doesn't work, empty the channels one by one and see if it helps. I think channel 2 is the one that sounds weird, so try first removing channels 3 and 4.
Last but not least, it could be a hardware issue of course. bubsy couldn't reproduce it in ProTracker A1200 config either, so this is really puzzling.
Title: Re: Amiga 1200 playback goes wrong
Post by: 8bitbubsy on January 10, 2016, 13:20:04
Can you play any other .MOD on that Amiga without weird symptoms..? Almost sounds as if you're out of memory or have bad memory. Is your Amiga heavily expanded?

Might want to try boot your A1200 with both mouse button held down during boot, and then disable "CPU caches" and then boot without startup-sequence and run PT from there.
EDIT: Also make sure "DMAWait" is set to something very high in the Setup #2 screen. Should be 900 for an unexpanded A1200, 2000+ for a 68030, 9999 for a 68040/68060. Holdt both left and right mouse button on the UP arrow to increase the value much faster.

Not sure if DMAWait is a problem for the PT replayers used in Hippo/Eagle/Deli though...
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 13:28:10
I will try that tonight! Thanks for the help.
The amiga does have a aca1221 that gives some trouble now and then because I am still using KS 3.0.
Expecting 3.1 next week so should work out.
Title: Re: Amiga 1200 playback goes wrong
Post by: 8bitbubsy on January 10, 2016, 13:28:49
Also try without the accelerator...
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 14:17:19
Same problem. When I look at the samples in Protracker 2.3d on the amiga it looks like samples are merged.
So each sample has a part of another sample before it. So incredibly weird.
Title: Re: Amiga 1200 playback goes wrong
Post by: Saga Musix on January 10, 2016, 14:21:15
That would at least explain the sound of your demonstration MP3. Does that really happen with the MOD you uploaded or did you cut that MOD from a larger track and are testing the original track on the Amiga? If the latter is true, did you remove any unused patterns? Those can cause trouble in MOD files because the number of patterns in a MOD file is inferred from the order list, so OpenMPT should not write any unused patterns past the highest order list entry, but who knows if there's a bug somewhere.
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 14:24:16
Ah! I cleaned the song and it worked! :D
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 14:25:07
Now it gets stuck halfway through :')
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 14:28:04
Ah, probably some tempo issues.
Title: Re: Amiga 1200 playback goes wrong
Post by: Saga Musix on January 10, 2016, 14:30:21
Sounds like those issues only existed in the original file and not the trimmed down version then - nevertheless it would be interesting to have a look at the whole track then to figure out why PT would read the samples in a broken way then. Can you provide the original track (also possible via private message if it's unreleased or something ;))?
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 14:39:13
I got it largely working again but it still has many glitches. :'(
I will PM you the file that I got "working"
Title: Re: Amiga 1200 playback goes wrong
Post by: Saga Musix on January 10, 2016, 14:52:53
Hm, so at least in PT2.3d on WinUAE + A500 seems to play that particular file without trouble. Can you maybe make another recording of this exact file on the A1200? Maybe just record the offending channel (which should be channel 2, I guess) if possible?
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 15:05:28
Strangely enough it works fine in Protracker 2.3D but in hippoplayer I get the problem.
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 15:08:06
Wait, now it works in HippoPlayer good too (maybe a hiccup once). I put the accelerator back in, maybe the extra mhz helps? :D
Title: Re: Amiga 1200 playback goes wrong
Post by: cerror on January 10, 2016, 15:09:29
When I get KS 3.1 I hope any problem I have will be fixed and I'll use the cleanup function before loading it on the amiga.
Title: Re: Amiga 1200 playback goes wrong
Post by: 8bitbubsy on January 10, 2016, 19:39:04
Kickstart 3.1 won't magically fix the way a .MOD is loaded, at least not if you get the same problems with the accelerator removed... Something else is horribly broken, I suspect your Amiga is not healthy.