BTW I modded the AYFX player to play sounds on specific channels instead of the first free channel, and added a simple sustain loop so I could have continuous sounds with an attack and release. The latter feature needs improvement because it's a pain to calculate the sustain and release offsets manually, and they change every time you edit the soundbank. Eventually I want to mod the editor to let you set the sustain and release points graphically. I also got the editor building on the latest free version of C++Builder (RADStudio 10.2).
https://github.com/Threetwosevensixseve ... t-improved
I had problems with AYFX too. I get weird bursts of noise or quiet volume the first effect I play after AY music had been played. I talked to Shiru about it briefly but I never managed to get to the bottom of it. It's entirely possibly I broke it with my mods, but I'm buggered if I can see what the problem is.
I didn't know about the haplo fix, thanks! I will incorporate that to see if it helps.