427 |
fFinalCutoff = VCFCutoffCtrl.fvalue; |
fFinalCutoff = VCFCutoffCtrl.fvalue; |
428 |
fFinalResonance = VCFResonanceCtrl.fvalue; |
fFinalResonance = VCFResonanceCtrl.fvalue; |
429 |
|
|
430 |
// process MIDI control change and pitchbend events for this subfragment |
// process MIDI control change, aftertouch and pitchbend events for this subfragment |
431 |
processCCEvents(itCCEvent, iSubFragmentEnd); |
processCCEvents(itCCEvent, iSubFragmentEnd); |
432 |
uint8_t pan = MIDIPan; |
uint8_t pan = MIDIPan; |
433 |
if (pSignalUnitRack != NULL) pan = pSignalUnitRack->GetEndpointUnit()->CalculatePan(MIDIPan); |
if (pSignalUnitRack != NULL) pan = pSignalUnitRack->GetEndpointUnit()->CalculatePan(MIDIPan); |
611 |
} |
} |
612 |
|
|
613 |
/** |
/** |
614 |
* Process given list of MIDI control change and pitch bend events for |
* Process given list of MIDI control change, aftertouch and pitch bend |
615 |
* the given time. |
* events for the given time. |
616 |
* |
* |
617 |
* @param itEvent - iterator pointing to the next event to be processed |
* @param itEvent - iterator pointing to the next event to be processed |
618 |
* @param End - youngest time stamp where processing should be stopped |
* @param End - youngest time stamp where processing should be stopped |
644 |
} |
} |
645 |
} else if (itEvent->Type == Event::type_pitchbend) { // if pitch bend event |
} else if (itEvent->Type == Event::type_pitchbend) { // if pitch bend event |
646 |
processPitchEvent(itEvent); |
processPitchEvent(itEvent); |
647 |
|
} else if (itEvent->Type == Event::type_channel_pressure) { |
648 |
|
ProcessChannelPressureEvent(itEvent); |
649 |
|
} else if (itEvent->Type == Event::type_note_pressure) { |
650 |
|
ProcessPolyphonicKeyPressureEvent(itEvent); |
651 |
} |
} |
652 |
|
|
653 |
ProcessCCEvent(itEvent); |
ProcessCCEvent(itEvent); |