diff --git a/src/sound/timiditypp/effect.h b/src/sound/timiditypp/effect.h index 77bb52dc1..b447fd9c5 100644 --- a/src/sound/timiditypp/effect.h +++ b/src/sound/timiditypp/effect.h @@ -29,6 +29,7 @@ public: Effect(Reverb *_reverb) { reverb = _reverb; + init_effect(); } void init_effect(); diff --git a/src/sound/timiditypp/playmidi.cpp b/src/sound/timiditypp/playmidi.cpp index b8ff70566..19c54fd5f 100644 --- a/src/sound/timiditypp/playmidi.cpp +++ b/src/sound/timiditypp/playmidi.cpp @@ -6132,11 +6132,13 @@ void Player::send_long_event(const uint8_t *sysexbuffer, int exlen) /* initialize effect status */ reverb->init_effect_status(play_system_mode); + effect->init_effect(); instruments->init_userdrum(); instruments->init_userinst(); playmidi_stream_init(); } play_event(&ev); + return; } if ((ne = sc.parse_sysex_event_multi(sysexbuffer + 1, exlen - 1, evm, instruments))) {