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 0b35709b4e4e96cba7f2dc1553a02b3e1cd7449d
parent d1012f4c930bcfb1ba38214a1e942b5db8bd0e4e
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Tue, 18 Jan 2022 21:29:27 +0100

do not send initial knob update to DSP (fixes B rom having no sound)

Diffstat:
Msource/jucePlugin/VirusParameter.cpp | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/source/jucePlugin/VirusParameter.cpp b/source/jucePlugin/VirusParameter.cpp @@ -21,8 +21,9 @@ namespace Virus jassert (m_range.getRange().contains(value) || m_range.end == value); if (value != m_lastValue) { - m_ctrl.sendSysEx( - m_ctrl.constructMessage({static_cast<uint8_t>(m_desc.page), m_partNum, m_desc.index, value})); + // ignore initial update + if(m_lastValue != -1) + m_ctrl.sendSysEx(m_ctrl.constructMessage({static_cast<uint8_t>(m_desc.page), m_partNum, m_desc.index, value})); m_lastValue = value; } if (onValueChanged)