diff --git a/src/dexed.cpp b/src/dexed.cpp index 1fa8a06..c9dbffb 100644 --- a/src/dexed.cpp +++ b/src/dexed.cpp @@ -128,6 +128,7 @@ void Dexed::activate(void) TRACE("Hi"); Plugin::activate(); + panic(); controllers.values_[kControllerPitchRange] = data[155]; controllers.values_[kControllerPitchStep] = data[156]; @@ -138,7 +139,6 @@ void Dexed::deactivate(void) { TRACE("Hi"); - panic(); Plugin::deactivate(); TRACE("Bye"); @@ -575,6 +575,14 @@ void Dexed::ProcessMidiMessage(const uint8_t *buf, uint32_t buf_size) { } } break; + case 123: + TRACE("MIDI all-notes-off: %d %d",ctrl,value); + panic(); + break; + case 120: + TRACE("MIDI all-sound-off: %d %d",ctrl,value); + panic(); + break; } break; }