We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a91e90b commit 6653ea7Copy full SHA for 6653ea7
Source/aeolus/division.cpp
@@ -412,22 +412,14 @@ void Division::handleControlMessage(const juce::MidiMessage& msg)
412
if (_hasSwell && cc == aeolus::CC_VOLUME) {
413
*_paramGain = value;
414
}
415
-
416
417
418
// Hange manual channel specific controls
419
if (!isForMIDIChannel(msg.getChannel()))
420
return;
421
422
- switch (cc) {
423
- case aeolus::CC_MODULATION:
424
- if (hasTremulant())
425
- setTremulantEnabled(value > 0.5f);
426
- break;
427
- default:
428
429
- }
430
+ if (cc == aeolus::CC_MODULATION && hasTremulant())
+ setTremulantEnabled(value > 0.5f);
431
432
433
bool Division::process(AudioBuffer<float>& targetBuffer, AudioBuffer<float>& voiceBuffer)
0 commit comments