34 |
#include "../../common/ConditionServer.h" |
#include "../../common/ConditionServer.h" |
35 |
#include "../common/Engine.h" |
#include "../common/Engine.h" |
36 |
#include "../common/Event.h" |
#include "../common/Event.h" |
37 |
|
#include "../common/BiquadFilter.h" |
38 |
#include "../../lib/fileloader/libgig/gig.h" |
#include "../../lib/fileloader/libgig/gig.h" |
39 |
#include "InstrumentResourceManager.h" |
#include "InstrumentResourceManager.h" |
40 |
#include "../../network/lscp.h" |
#include "../../network/lscp.h" |
41 |
|
|
42 |
#define PITCHBEND_SEMITONES 12 |
#define PITCHBEND_SEMITONES 12 |
43 |
#define MAX_AUDIO_VOICES 64 |
#define MAX_AUDIO_VOICES 128 |
44 |
|
|
45 |
namespace LinuxSampler { namespace gig { |
namespace LinuxSampler { namespace gig { |
46 |
|
|
109 |
RTEList<Event>* pCCEvents; ///< All control change events for the current audio fragment. |
RTEList<Event>* pCCEvents; ///< All control change events for the current audio fragment. |
110 |
RTEList<Event>* pSynthesisEvents[Event::destination_count]; ///< Events directly affecting synthesis parameter (like pitch, volume and filter). |
RTEList<Event>* pSynthesisEvents[Event::destination_count]; ///< Events directly affecting synthesis parameter (like pitch, volume and filter). |
111 |
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. |
112 |
|
biquad_param_t* pBasicFilterParameters; ///< Biquad parameters of the basic bandpass filter. |
113 |
|
biquad_param_t* pMainFilterParameters; ///< Main biquad parameters of the individual filter (lowpass / bandpass / highpass). |
114 |
RIFF::File* pRIFF; |
RIFF::File* pRIFF; |
115 |
::gig::File* pGig; |
::gig::File* pGig; |
116 |
::gig::Instrument* pInstrument; |
::gig::Instrument* pInstrument; |
138 |
friend class VCOManipulator; |
friend class VCOManipulator; |
139 |
friend class InstrumentResourceManager; |
friend class InstrumentResourceManager; |
140 |
private: |
private: |
|
//static void AllocateSynthesisParametersMatrix(); |
|
|
|
|
141 |
void DisableAndLock(); |
void DisableAndLock(); |
142 |
}; |
}; |
143 |
|
|