106 |
// abstract methods derived from interface class 'InstrumentConsumer' |
// abstract methods derived from interface class 'InstrumentConsumer' |
107 |
virtual void ResourceToBeUpdated(::gig::Instrument* pResource, void*& pUpdateArg); |
virtual void ResourceToBeUpdated(::gig::Instrument* pResource, void*& pUpdateArg); |
108 |
virtual void ResourceUpdated(::gig::Instrument* pOldResource, ::gig::Instrument* pNewResource, void* pUpdateArg); |
virtual void ResourceUpdated(::gig::Instrument* pOldResource, ::gig::Instrument* pNewResource, void* pUpdateArg); |
109 |
protected: |
//protected: |
110 |
struct midi_key_info_t { |
struct midi_key_info_t { |
111 |
RTList<Voice>* pActiveVoices; ///< Contains the active voices associated with the MIDI key. |
RTList<Voice>* pActiveVoices; ///< Contains the active voices associated with the MIDI key. |
112 |
bool KeyPressed; ///< Is true if the respective MIDI key is currently pressed. |
bool KeyPressed; ///< Is true if the respective MIDI key is currently pressed. |
165 |
void ProcessPitchbend(Pool<Event>::Iterator& itPitchbendEvent); |
void ProcessPitchbend(Pool<Event>::Iterator& itPitchbendEvent); |
166 |
void ProcessControlChange(Pool<Event>::Iterator& itControlChangeEvent); |
void ProcessControlChange(Pool<Event>::Iterator& itControlChangeEvent); |
167 |
void ProcessSysex(Pool<Event>::Iterator& itSysexEvent); |
void ProcessSysex(Pool<Event>::Iterator& itSysexEvent); |
168 |
Pool<Voice>::Iterator LaunchVoice(Pool<Event>::Iterator& itNoteOnEvent, int iLayer = 0, bool ReleaseTriggerVoice = false, bool VoiceStealing = true); |
Pool<Voice>::Iterator LaunchVoice(Pool<Event>::Iterator& itNoteOnEvent, int iLayer, bool ReleaseTriggerVoice, bool VoiceStealing); |
169 |
void StealVoice(Pool<Event>::Iterator& itNoteOnEvent); |
void StealVoice(Pool<Event>::Iterator& itNoteOnEvent); |
170 |
void FreeVoice(Pool<Voice>::Iterator& itVoice); |
void FreeVoice(Pool<Voice>::Iterator& itVoice); |
171 |
|
void FreeKey(midi_key_info_t* pKey); |
172 |
void ResetSynthesisParameters(Event::destination_t dst, float val); |
void ResetSynthesisParameters(Event::destination_t dst, float val); |
173 |
void ResetInternal(); |
void ResetInternal(); |
174 |
|
|