Here attached is a .zip archive containing a test .snd file (along with .ttp player for it) which gives cracks in the sound on Hatari when all 3 voices are played along DMA mono beat. It only occurs when the bassdrum is playing.
You can hear it at 17 seconds when playing the .snd file. I also included a recording (as .ogg) from Hatari where you can also hear this problem.
Maybe it only occurs on my Hatari setup ? I cannot test it on another computer here. So it would be nice if someone else could check this.
You do not have the required permissions to view the files attached to this post.
I think the LMC1992 volume or bass or treble register is turned up too high and causing distortion. This can happen on a real STe too. Real STe distortion is caused by clipping; Hatari distortion is caused by overflow because saturation mathematics is not used. Hatari should distort at about the same point as a real STe, but may sound different.
EDIT: I found and solved the problem. YM + DMA sound samples exceeded 16 bits at one point in the code. I also made a patch to do clipping instead of overflow for LMC1992 distortion.
-Following experiment cancelled. Try this experiment: Turn down the volume to see if the noise goes away on Hatari. Maybe turn up volume on Real STe to find where it gets worse. I'll think about the results, if you can tell me some levels.