https://bugs.winehq.org/show_bug.cgi?id=46170
--- Comment #15 from Nikos Chantziaras realnc@gmail.com --- (In reply to Fabian Maurer from comment #13)
Meaning, you can't reproduce the issue once the audio is recorded? I mean, the crash can be reproduced by using a midi file, the other issues can not?
The crash cannot be reproduced anymore after applying the patch. The other issues with ScummVM were happening before the patch too (cut-off notes and shifted channels in Gabriel Knight 1.)
Sorry forgot to add, how is ScummVM playback when using a linux midi-synthesizer like fluidsynth?
No issues when using Linux Fluidsynth. Different synths behave differently though, and I would need to also test a Windows VSTi version of Fluidsynth running in Wine, but I can't find such a thing :-/ So comparing Roland Sound Canvas VA running in Wine vs Fluidsynth running natively on Linux doesn't say much, unfortunately.
However, if I capture the MIDI data generated by ScummVM into a MIDI file, and then play that file directly in the Windows MIDI player without going through the Wine/ALSA-MIDI layer, then the instruments are still cut off and some of them are still wrong, which makes me believe ScummVM's MIDI output is broken, at least on Linux. Maybe trying the Windows version of ScummVM in Wine would be a useful test. I'll try that.