From 57a1641550dd3eaddfae0423f8b021416fda5a55 Mon Sep 17 00:00:00 2001 From: probonopd Date: Fri, 18 Apr 2025 18:17:58 +0200 Subject: [PATCH] Update the voice data parameter OPE Offset 155 --- src/mididevice.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mididevice.cpp b/src/mididevice.cpp index 90fefbd..b35cc8c 100644 --- a/src/mididevice.cpp +++ b/src/mididevice.cpp @@ -325,6 +325,8 @@ void CMIDIDevice::MIDIMessageHandler (const u8 *pMessage, size_t nLength, unsign for (unsigned nTG = 0; nTG < m_pConfig->GetToneGenerators(); nTG++) { // Set the operator mask directly (no toggling) m_pSynthesizer->setOperatorMask(operatorMask, nTG); + // Also update the actual voice data parameter OPE (offset 155) + m_pSynthesizer->setVoiceDataElement(155, operatorMask, nTG); } return; }