27 |
#include "EG.h" |
#include "EG.h" |
28 |
#include "EGADSR.h" |
#include "EGADSR.h" |
29 |
#include "../common/AbstractVoice.h" |
#include "../common/AbstractVoice.h" |
30 |
#include "../common/PulseLFO.h" |
#include "../common/LFOAll.h" |
|
#include "../common/SawLFO.h" |
|
|
#include "../common/SineLFO.h" |
|
31 |
|
|
32 |
namespace LinuxSampler { namespace sfz { |
namespace LinuxSampler { namespace sfz { |
33 |
const int MaxUnitCount = 200; |
const int MaxUnitCount = 200; |
305 |
class LFOv1Unit: public LFOUnit { |
class LFOv1Unit: public LFOUnit { |
306 |
public: |
public: |
307 |
::sfz::LFO lfoInfo; |
::sfz::LFO lfoInfo; |
308 |
LfoBase<LFOSigned> lfo; |
LfoBase<LFOTriangleSigned> lfo; |
309 |
|
|
310 |
LFOv1Unit(SfzSignalUnitRack* rack): LFOUnit(rack), lfo(1200.0f) { |
LFOv1Unit(SfzSignalUnitRack* rack): LFOUnit(rack), lfo(1200.0f) { |
311 |
pLfoInfo = &lfoInfo; pLFO = &lfo; |
pLfoInfo = &lfoInfo; pLFO = &lfo; |
317 |
class LFOv2Unit: public LFOUnit, public EqUnitSupport { |
class LFOv2Unit: public LFOUnit, public EqUnitSupport { |
318 |
protected: |
protected: |
319 |
FixedArray<AbstractLfo*> lfos; |
FixedArray<AbstractLfo*> lfos; |
320 |
LfoBase<LFOSigned> lfo0; // triangle |
LfoBase<LFOTriangleSigned> lfo0; // triangle |
321 |
LfoBase<SineLFO<LFO::range_signed> > lfo1; // sine |
LfoBase<LFOSineSigned> lfo1; // sine |
322 |
LfoBase<PulseLFO<LFO::range_unsigned, 750> > lfo2; // pulse 75% |
LfoBase<LFOPulse<LFO::range_unsigned, 750> > lfo2; // pulse 75% |
323 |
LfoBase<SquareLFO<LFO::range_signed> > lfo3; // square |
LfoBase<LFOSquareSigned> lfo3; // square |
324 |
LfoBase<PulseLFO<LFO::range_unsigned, 250> > lfo4; // pulse 25% |
LfoBase<LFOPulse<LFO::range_unsigned,250>> lfo4; // pulse 25% |
325 |
LfoBase<PulseLFO<LFO::range_unsigned, 125> > lfo5; // pulse 12,5% |
LfoBase<LFOPulse<LFO::range_unsigned,125>> lfo5; // pulse 12,5% |
326 |
LfoBase<SawLFO<LFO::range_unsigned, true> > lfo6; // saw up |
LfoBase<SawUpLFO<LFO::range_unsigned>> lfo6; // saw up |
327 |
LfoBase<SawLFO<LFO::range_unsigned, false> > lfo7; // saw down |
LfoBase<SawDownLFO<LFO::range_unsigned>> lfo7; // saw down |
328 |
|
|
329 |
|
|
330 |
public: |
public: |