mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-08 21:17:49 +00:00
Add pan/span control to Voice backend
This commit is contained in:
@@ -207,9 +207,9 @@ void Sequencer::ChannelState::setCtrlValue(uint8_t ctrl, int8_t val)
|
||||
{
|
||||
m_ctrlVals[ctrl] = val;
|
||||
for (const auto& vox : m_chanVoxs)
|
||||
vox.second->notifyCtrlChange(ctrl, val);
|
||||
vox.second->_notifyCtrlChange(ctrl, val);
|
||||
for (const auto& vox : m_keyoffVoxs)
|
||||
vox->notifyCtrlChange(ctrl, val);
|
||||
vox->_notifyCtrlChange(ctrl, val);
|
||||
|
||||
if (ctrl == 7)
|
||||
setVolume(val / 127.f);
|
||||
|
||||
Reference in New Issue
Block a user