36 |
#include "../../common/ConditionServer.h" |
#include "../../common/ConditionServer.h" |
37 |
#include "../common/Engine.h" |
#include "../common/Engine.h" |
38 |
#include "../common/Event.h" |
#include "../common/Event.h" |
|
#include "../common/BiquadFilter.h" |
|
39 |
#include "../../network/lscp.h" |
#include "../../network/lscp.h" |
40 |
#include "EngineChannel.h" |
#include "EngineChannel.h" |
41 |
|
|
92 |
RTList<Event>* pGlobalEvents; ///< All engine global events for the current audio fragment (usually only SysEx messages). |
RTList<Event>* pGlobalEvents; ///< All engine global events for the current audio fragment (usually only SysEx messages). |
93 |
Pool<Event>* pEventPool; ///< Contains all Event objects that can be used. |
Pool<Event>* pEventPool; ///< Contains all Event objects that can be used. |
94 |
RingBuffer<uint8_t>* pSysexBuffer; ///< Input buffer for MIDI system exclusive messages. |
RingBuffer<uint8_t>* pSysexBuffer; ///< Input buffer for MIDI system exclusive messages. |
|
float* pSynthesisParameters[Event::destination_count]; ///< Matrix with final synthesis parameters for the current audio fragment which will be used in the main synthesis loop. |
|
|
biquad_param_t* pBasicFilterParameters; ///< Biquad parameters of the basic bandpass filter. |
|
|
biquad_param_t* pMainFilterParameters; ///< Main biquad parameters of the individual filter (lowpass / bandpass / highpass). |
|
95 |
int ActiveVoiceCount; ///< number of currently active voices (this value will be returned for public calls) |
int ActiveVoiceCount; ///< number of currently active voices (this value will be returned for public calls) |
96 |
int ActiveVoiceCountTemp; ///< number of currently active voices (for internal usage, will be used for incrementation) |
int ActiveVoiceCountTemp; ///< number of currently active voices (for internal usage, will be used for incrementation) |
97 |
int ActiveVoiceCountMax; ///< the maximum voice usage since application start |
int ActiveVoiceCountMax; ///< the maximum voice usage since application start |
122 |
int StealVoice(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNoteOnEvent); |
int StealVoice(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNoteOnEvent); |
123 |
void FreeVoice(EngineChannel* pEngineChannel, Pool<Voice>::Iterator& itVoice); |
void FreeVoice(EngineChannel* pEngineChannel, Pool<Voice>::Iterator& itVoice); |
124 |
void FreeKey(EngineChannel* pEngineChannel, midi_key_info_t* pKey); |
void FreeKey(EngineChannel* pEngineChannel, midi_key_info_t* pKey); |
|
void ResetSynthesisParameters(Event::destination_t dst, float val); |
|
125 |
void ResetInternal(); |
void ResetInternal(); |
126 |
void ResetScaleTuning(); |
void ResetScaleTuning(); |
127 |
|
|
131 |
void DisableAndLock(); // FIXME: should at least be protected |
void DisableAndLock(); // FIXME: should at least be protected |
132 |
|
|
133 |
friend class Voice; |
friend class Voice; |
|
friend class EGADSR; |
|
|
friend class EGDecay; |
|
|
friend class VCAManipulator; |
|
|
friend class VCFCManipulator; |
|
|
friend class VCOManipulator; |
|
134 |
private: |
private: |
135 |
ArrayList<EngineChannel*> engineChannels; ///< All engine channels of a gig::Engine instance. |
ArrayList<EngineChannel*> engineChannels; ///< All engine channels of a gig::Engine instance. |
136 |
|
|