diff --git a/README.md b/README.md index 36a9861152c47..7a6befe5df48e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -MAmidiMEmo 5.6.16.0 Itoken (c)2019, 2024 / GPL-2.0 +MAmidiMEmo 5.6.17.0 Itoken (c)2019, 2024 / GPL-2.0 *** What is the MAmidiMEmo? *** @@ -274,6 +274,7 @@ e.g.) YM2151 has 8ch FM sounds, so you can play 8 chords on MIDI 1ch or sharing [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SNQ9JE3JAQMNQ) *** Changes +5.6.17.0 Fixed Hold Off MIDI message handling. 5.6.16.0 Fixed ch9-18 address calculation for OPL3 for SCCI. 5.6.15.0 Showed the program number name on ProgramNumbers property. Fixed ModulationRateShift prop is not working property. diff --git a/src/mamidimemo/Program.cs b/src/mamidimemo/Program.cs index f045ba80addec..fa5f39b71150a 100644 --- a/src/mamidimemo/Program.cs +++ b/src/mamidimemo/Program.cs @@ -41,7 +41,7 @@ public static class Program /// /// /// - public const string FILE_VERSION = "5.6.15.0"; + public const string FILE_VERSION = "5.6.17.0"; public const string FILE_COPYRIGHT = @"Virtual chiptune sound MIDI module ""MAmidiMEmo"" Version {0} Copyright(C) 2019, 2024 Itoken.All rights reserved."; diff --git a/src/mamidimemo/instruments/SoundManagerBase.cs b/src/mamidimemo/instruments/SoundManagerBase.cs index 10c57109fb504..cd2d904e9a7e2 100644 --- a/src/mamidimemo/instruments/SoundManagerBase.cs +++ b/src/mamidimemo/instruments/SoundManagerBase.cs @@ -211,7 +211,7 @@ public virtual void ProcessControlChange(ControlChangeEvent midiEvent) { if (t.IsSoundOff) continue; - if (t.IsKeyOff && t.NoteOnEvent.Channel == midiEvent.Channel) + if (!t.IsKeyOff && t.NoteOnEvent.Channel == midiEvent.Channel) ProcessKeyOff(new NoteOffEvent(t.NoteOnEvent.NoteNumber, (SevenBitNumber)0) { Channel = t.NoteOnEvent.Channel }); } }