25.11.2022: The volume output was wrong (slightly too quiet) on xmaplay020. Fixed.
08.01.2023: Fixed a bug where writes to a wrong memory address were happening while playing a song (thanks to koobo/K-P for discovering it).
15.01.2023: Fixed a bug where DisableAudioMixer could make the mixing loop freeze. This could potentially happen on exit (have never had it happen), or when calling SetPos/NextPattern/PrevPattern (would often happen).
19.02.2023: graphics.library would sometimes not open because of non-initialized d0 register. dos.library would also be closed instead of graphics.library on exit.
01.04.2023: Sample loop unrolling was sometimes wrong on pingpong/bidi samples. Minor change to BPM calculation (SamplesPerTick). xmaplay060: Linear interpolation tap sample fix for non-looping samples.
30.06.2023: xmaplay020 had a potential rare buffering issue for non-looping samples. xmaplay060 was not affected.
Download + source-code:
https://16-bits.org/etc/xmaplay020_v048.zip
(use this better-sounding version if you have a 68060 or Vampire:
https://16-bits.org/etc/xmaplay060_v046.zip)