gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 7affd2f720f77c9f93d191bd3dccd79bd1d4a3fa
parent aa360260cf47eb364d3248ef2902c10c90c386a6
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Fri,  1 Oct 2021 16:53:08 +0200

fix parameter changes not remembered in single mode if send for part 0

Diffstat:
Msource/virusLib/microcontroller.cpp | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/source/virusLib/microcontroller.cpp b/source/virusLib/microcontroller.cpp @@ -538,6 +538,11 @@ bool Microcontroller::sendSysex(const std::vector<uint8_t>& _data, bool _cancelI // virus only applies sysex changes to other parts while in multi mode. applyToSingleEditBuffer(page, part, param, value); } + if (m_globalSettings[PLAY_MODE] == PlayModeSingle && part == 0) + { + // accept parameter changes in single mode even if sent for part 0, this is how the editor does it right now + applyToSingleEditBuffer(page, SINGLE, param, value); + } } return send(page, part, param, value, _cancelIfFull);