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 8eec92089f7d41014402ad36d6f75be4cfd90bf5
parent 5fa4b82699947eac4ac86c1c7a8f69456fa87ff2
Author: lol-catz <91396648+lol-catz@users.noreply.github.com>
Date:   Fri,  1 Oct 2021 10:14:56 -0500

Merge branch 'dsp56300:dsp56300' into dsp56300

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

diff --git a/source/virusLib/microcontroller.cpp b/source/virusLib/microcontroller.cpp @@ -86,6 +86,7 @@ void Microcontroller::sendInitControlCommands() sendControlCommand(MIDI_CONTROL_LOW_PAGE, 0x1); // Enable midi CC to edit parameters on page A sendControlCommand(MIDI_CONTROL_HIGH_PAGE, 0x1); // Enable poly pressure to edit parameters on page B sendControlCommand(MASTER_VOLUME, 127); // Set master volume to maximum + sendControlCommand(MASTER_TUNE, 64); // Set master tune to 0 } void Microcontroller::createDefaultState() @@ -538,6 +539,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);