36 |
#include "../gig/SynthesisParam.h" |
#include "../gig/SynthesisParam.h" |
37 |
#include "EG.h" |
#include "EG.h" |
38 |
#include "EGADSR.h" |
#include "EGADSR.h" |
39 |
|
#include "SfzSignalUnitRack.h" |
40 |
|
|
41 |
namespace LinuxSampler { namespace sfz { |
namespace LinuxSampler { namespace sfz { |
42 |
class Engine; |
class Engine; |
87 |
EGADSR EGADSR1; |
EGADSR EGADSR1; |
88 |
EG EG2; |
EG EG2; |
89 |
EGADSR EGADSR2; |
EGADSR EGADSR2; |
90 |
|
SfzSignalUnitRack SignalRack; |
91 |
|
|
92 |
public: // FIXME: just made public for debugging (sanity check in Engine::RenderAudio()), should be changed to private before the final release |
public: // FIXME: just made public for debugging (sanity check in Engine::RenderAudio()), should be changed to private before the final release |
93 |
// Attributes |
// Attributes |
102 |
void processCrossFadeEvent(RTList<Event>::Iterator& itEvent); |
void processCrossFadeEvent(RTList<Event>::Iterator& itEvent); |
103 |
|
|
104 |
EngineChannel* GetSfzEngineChannel(); |
EngineChannel* GetSfzEngineChannel(); |
105 |
|
|
106 |
|
friend class EGv1Unit; |
107 |
|
friend class SfzSignalUnitRack; |
108 |
|
|
109 |
protected: |
protected: |
110 |
virtual uint8_t CrossfadeAttenuation(uint8_t& CrossfadeControllerValue) { |
virtual uint8_t CrossfadeAttenuation(uint8_t& CrossfadeControllerValue) { |