29 |
# warning Engine.h included |
# warning Engine.h included |
30 |
#endif // DEBUG_HEADERS |
#endif // DEBUG_HEADERS |
31 |
|
|
32 |
|
#include <map> |
33 |
|
|
34 |
#include "../../common/RingBuffer.h" |
#include "../../common/RingBuffer.h" |
35 |
#include "../../common/RTELMemoryPool.h" |
#include "../../common/RTELMemoryPool.h" |
36 |
#include "../../common/ConditionServer.h" |
#include "../../common/ConditionServer.h" |
46 |
|
|
47 |
namespace LinuxSampler { namespace gig { |
namespace LinuxSampler { namespace gig { |
48 |
|
|
49 |
|
using std::map; |
50 |
|
|
51 |
// just symbol prototyping |
// just symbol prototyping |
52 |
class Voice; |
class Voice; |
53 |
class DiskThread; |
class DiskThread; |
128 |
float* pSynthesisParameters[Event::destination_count]; ///< Matrix with final synthesis parameters for the current audio fragment which will be used in the main synthesis loop. |
float* pSynthesisParameters[Event::destination_count]; ///< Matrix with final synthesis parameters for the current audio fragment which will be used in the main synthesis loop. |
129 |
biquad_param_t* pBasicFilterParameters; ///< Biquad parameters of the basic bandpass filter. |
biquad_param_t* pBasicFilterParameters; ///< Biquad parameters of the basic bandpass filter. |
130 |
biquad_param_t* pMainFilterParameters; ///< Main biquad parameters of the individual filter (lowpass / bandpass / highpass). |
biquad_param_t* pMainFilterParameters; ///< Main biquad parameters of the individual filter (lowpass / bandpass / highpass). |
131 |
|
map<uint,uint*> ActiveKeyGroups; ///< Contains active keys (in case they belong to a key group) ordered by key group ID. |
132 |
RIFF::File* pRIFF; |
RIFF::File* pRIFF; |
133 |
::gig::File* pGig; |
::gig::File* pGig; |
134 |
::gig::Instrument* pInstrument; |
::gig::Instrument* pInstrument; |
148 |
void ProcessPitchbend(Event* pPitchbendEvent); |
void ProcessPitchbend(Event* pPitchbendEvent); |
149 |
void ProcessControlChange(Event* pControlChangeEvent); |
void ProcessControlChange(Event* pControlChangeEvent); |
150 |
void LaunchVoice(Event* pNoteOnEvent, int iLayer = 0); |
void LaunchVoice(Event* pNoteOnEvent, int iLayer = 0); |
151 |
void KillVoice(Voice* pVoice); |
void KillVoiceImmediately(Voice* pVoice); |
152 |
void ResetSynthesisParameters(Event::destination_t dst, float val); |
void ResetSynthesisParameters(Event::destination_t dst, float val); |
153 |
void ResetInternal(); |
void ResetInternal(); |
154 |
|
|