Update the voice data parameter OPE

Offset 155
pull/837/head
probonopd 2 days ago
parent f78132b5f5
commit 57a1641550
  1. 2
      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++) { for (unsigned nTG = 0; nTG < m_pConfig->GetToneGenerators(); nTG++) {
// Set the operator mask directly (no toggling) // Set the operator mask directly (no toggling)
m_pSynthesizer->setOperatorMask(operatorMask, nTG); m_pSynthesizer->setOperatorMask(operatorMask, nTG);
// Also update the actual voice data parameter OPE (offset 155)
m_pSynthesizer->setVoiceDataElement(155, operatorMask, nTG);
} }
return; return;
} }

Loading…
Cancel
Save