84 |
type_t Type; ///< Voice Type (bit field, a voice may have several types) |
type_t Type; ///< Voice Type (bit field, a voice may have several types) |
85 |
int MIDIKey; ///< MIDI key number of the key that triggered the voice |
int MIDIKey; ///< MIDI key number of the key that triggered the voice |
86 |
uint8_t MIDIVelocity; ///< MIDI velocity of the key that triggered the voice |
uint8_t MIDIVelocity; ///< MIDI velocity of the key that triggered the voice |
87 |
|
uint8_t MIDIPan; ///< the current MIDI pan value |
88 |
|
|
89 |
SignalUnitRack* const pSignalUnitRack; |
SignalUnitRack* const pSignalUnitRack; |
90 |
|
|
107 |
virtual void Synthesize(uint Samples, sample_t* pSrc, uint Skip); |
virtual void Synthesize(uint Samples, sample_t* pSrc, uint Skip); |
108 |
|
|
109 |
uint GetSampleRate() { return GetEngine()->SampleRate; } |
uint GetSampleRate() { return GetEngine()->SampleRate; } |
110 |
|
|
111 |
|
uint8_t GetControllerValue(uint8_t Controller) { |
112 |
|
return (Controller > 128) ? 0 : pEngineChannel->ControllerTable[Controller]; |
113 |
|
} |
114 |
|
|
115 |
void processCCEvents(RTList<Event>::Iterator& itEvent, uint End); |
void processCCEvents(RTList<Event>::Iterator& itEvent, uint End); |
116 |
void processPitchEvent(RTList<Event>::Iterator& itEvent); |
void processPitchEvent(RTList<Event>::Iterator& itEvent); |