scummvm/audio
NMIError 6f575e580c MIDI: Fix XMIDI hanging notes
XMIDI uses Note On events with a length which specifies when a corresponding
Note Off event should be generated. Some XMIDI data contains notes with length
0, which are played very briefly by AIL. However, the ScummVM MidiParser will
treat Note On events with length 0 as "active notes", meaning it will wait for
a Note Off event before turning off the note. The Note Off will never come and
the note will hang.

This is particularly noticable in Ultima 8 (first section of the track that
plays at the beginning of the game, at the shore) and The 7th Guest (the track
that plays while solving the cake puzzle).

I've fixed this by changing the length from 0 to 1. This will cause the notes
to be active for the minimum length.
2020-06-13 23:33:31 +09:00
..
decoders AUDIO: Fix compiler warning 2020-04-11 03:30:35 -07:00
mods AUDIO: Correct small errors in AMF loader 2020-05-03 22:52:45 +09:00
softsynth MT32: Add missing default switch cases 2020-06-07 00:55:45 +02:00
adlib.cpp
alsa_opl.cpp
audiostream.cpp
audiostream.h
fmopl.cpp
fmopl.h
mididrv.cpp AUDIO: Add ability for engine to supply its own soundfont data. 2020-06-05 20:57:54 +10:00
mididrv.h AUDIO: Add ability for engine to supply its own soundfont data. 2020-06-05 20:57:54 +10:00
midiparser_qt.cpp
midiparser_qt.h
midiparser_smf.cpp
midiparser_xmidi.cpp MIDI: Fix XMIDI hanging notes 2020-06-13 23:33:31 +09:00
midiparser.cpp ULTIMA8/MIDI: Rename doNotAutoStartPlayback 2020-06-12 13:46:27 -05:00
midiparser.h ULTIMA8/MIDI: Rename doNotAutoStartPlayback 2020-06-12 13:46:27 -05:00
midiplayer.cpp
midiplayer.h
miles_adlib.cpp
miles_midi.cpp MIDI/KYRA: Miles channel locking and GM support (#2273) 2020-05-29 17:50:14 +02:00
miles.h MIDI/KYRA: Miles channel locking and GM support (#2273) 2020-05-29 17:50:14 +02:00
mixer_intern.h
mixer.cpp
mixer.h
module.mk MIDI/KYRA: Miles channel locking and GM support (#2273) 2020-05-29 17:50:14 +02:00
mpu401.cpp
mpu401.h
musicplugin.cpp
musicplugin.h AUDIO: Small const correctness improvement 2020-04-17 15:02:11 +09:00
null.cpp
null.h
opl2lpt.cpp
rate_arm_asm.s
rate_arm.cpp
rate.cpp
rate.h
timestamp.cpp
timestamp.h