mirror of
https://github.com/erik-toth/audio-synth.git
synced 2025-12-06 11:20:02 +00:00
Software Update 3: Example 2 CV-Gates
This commit is contained in:
@@ -216,7 +216,7 @@ void CV::setVoltage(uint8_t cvIndex, Key k)
|
||||
{
|
||||
if(cvIndex >= _nCV) return;
|
||||
if(isNotKey(k)) setVoltage(cvIndex, 0);
|
||||
setVoltage(cvIndex, _keyToVoltage[_getKeyToVoltageIndex(k)]);
|
||||
else setVoltage(cvIndex, _keyToVoltage[_getKeyToVoltageIndex(k)]);
|
||||
}
|
||||
|
||||
void CV::clearAll()
|
||||
|
||||
Reference in New Issue
Block a user