AmigaPorts / ACE

Amiga C Engine
Mozilla Public License 2.0
154 stars 25 forks source link

MOD playback not fully compatible #164

Open rveilleux opened 1 year ago

rveilleux commented 1 year ago

I am trying to figure out if I broke something in the code on my side, but even when trying on a pristine "Germz" repository, if I try to play this mod: XTD - Game6+(title).mod it sounds very bad / out-of-tune, compared to when playing the mod on either VLC or on any online MOD player. I even tried it on a "real" Amiga 500 using Protracker 2.3 (on WinUAE) and it played and sound correctly there too. The song is available here: https://www.modules.pl/dl.php?mid=2960 on this site https://www.modules.pl/?id=modules Do you think it could be a bug in the ptplayer.c code that was converted from the ASM ptplayer from here https://aminet.net/package/mus/play/ptplayer ?

tehKaiN commented 1 year ago

Most probably, yes! I'm fixing those as I run into them, so either you'll need to wait for the fixes a bit or help me out here. :) Right now I don't have much time to look at it, because of afk stuff, but in approx 2 weeks I'll definitely check it out. I hope that's not blocking your game development too much.

If you want to snoop around you can enable ptplayer logging by setting ACE_DEBUG_PTPLAYER define - it will output a lot more to the logs and maybe you can spot something odd there.