ScummVM 2.0.0 - Hanging notes with real MIDI synth

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
Digitoxin
Posts: 10
Joined: Tue Aug 07, 2012 2:20 am

ScummVM 2.0.0 - Hanging notes with real MIDI synth

Post by Digitoxin »

When using ScummVM 2.0.0 with a real MIDI tone generator (Yamaha MU-80), I get hanging notes when exiting ScummVM while playing Sierra SCI games. I haven't tried any other games yet.

Shouldn't ScummVM be sending a reset command to MIDI devices on exit to prevent this type of thing from happening?
User avatar
Raziel
ScummVM Porter
Posts: 1517
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet

Post by Raziel »

You were probably hit by this.
Digitoxin
Posts: 10
Joined: Tue Aug 07, 2012 2:20 am

Post by Digitoxin »

Regardless of the engine being used, ScummVM should always send a reset command to the MIDI device on exit.
Raziel wrote:You were probably hit by this.
User avatar
Raziel
ScummVM Porter
Posts: 1517
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet

Post by Raziel »

As written in the link i posted there was a big rewrite of SCI's MIDI part which unfortunately broke some things.

One of them (probably) were the issues you are expereincing.

If you try 1.9.0 you'll see that it does what you expect it to do and it will again, in a future version/revision.
User avatar
snover
ScummVM Developer
Posts: 20
Joined: Sun Dec 17, 2017 6:45 pm

Post by snover »

There is an open bug report about this. The MPU-401 driver does seem to be sending some reset-looking messages when it is destroyed, and not everyone experiences this problem, so I can’t explain offhand why it might be happening to you. Providing more reproduction information in that ticket could be helpful.
Raziel wrote:As written in the link i posted there was a big rewrite of SCI's MIDI part which unfortunately broke some things.
This is actually the complete opposite of what I wrote in that thread.
User avatar
Raziel
ScummVM Porter
Posts: 1517
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet

Post by Raziel »

Yep, sorry...mixed up the fact that there is a big rewrite needed...too tired
Digitoxin
Posts: 10
Joined: Tue Aug 07, 2012 2:20 am

Post by Digitoxin »

I have several external MIDI devices so I'll do some extensive testing on this and post my results on the bug report.
snover wrote:There is an open bug report about this. The MPU-401 driver does seem to be sending some reset-looking messages when it is destroyed, and not everyone experiences this problem, so I can’t explain offhand why it might be happening to you. Providing more reproduction information in that ticket could be helpful.
Raziel wrote:As written in the link i posted there was a big rewrite of SCI's MIDI part which unfortunately broke some things.
This is actually the complete opposite of what I wrote in that thread.
Post Reply