Opened 6 years ago

Last modified 3 months ago

#6687 new defect

SCI: Quitting while MIDI plays causes hanging notes

Reported by: lordhoto Owned by:
Priority: normal Component: Engine: SCI
Keywords: midi Cc:
Game: King's Quest 6

Description

ScummVM git 09cb06d1fa75f51a9967a15d96a5360b990afec4 Linux/amd64 gcc 4.9.0 Kings Quest 6 CD Windows

SCI does not send note off commands when quitting ScummVM while MIDI plays. When using a hardware MIDI sythesizer like my Roland SC-55 this causes currently active notes to hang.

Ticket imported from: bugs/6687.

Change History (8)

comment:1 by SF/natedavis82, 6 years ago

I have not noticed this on my SC-55. Does it happen every time you quit?

EDIT: I always hit CTRL-F5 and then click quit. I don't use the built-in quit function in KQ6. Is that how you quit too?

comment:2 by m-kiewitz, 5 years ago

Component: Engine: SCI

comment:3 by csnover, 3 years ago

Keywords: midi added
Owner: set to csnover

comment:4 by digitall, 2 years ago

Owner: csnover removed

comment:5 by digitall, 2 years ago

Game: King's Quest 6

comment:6 by ZvikaZ, 8 months ago

Hi @lordhoto .
Please check if https://github.com/ZvikaZ/scummvm/tree/z_midi_reset is solving this.

comment:7 by ZvikaZ, 8 months ago

Or even better,

https://github.com/ZvikaZ/scummvm.git , branch z_midi_reset_v3

comment:8 by raziel-, 3 months ago

ScummVM 2.2.0git (Jul 15 2020 10:24:49)
Features compiled in: Vorbis FLAC MP3 RGB zLib MPEG2 Theora AAC A/52 FreeType2 FriBiDi JPEG PNG cloud (servers, local)

I can not confirm this behaviour (anymore?).

Using Yamaha MU90 hardware here and no hanging notes with either KQ6 in-game quit or ScummVM's launcher quit (I tried some more SCI games and none show this behaviour).
I do remember having similar problems years back, but at some point they were fixed.

King's Quest VI: Heir Today, Gone Tomorrow (CD/Windows/English)

AmigaOS4 - PPC - BE - SDL

Note: See TracTickets for help on using tickets.