3 #ifndef SPECTMORPH_EFFECTDECODER_HH
4 #define SPECTMORPH_EFFECTDECODER_HH
6 #include "smlivedecoder.hh"
7 #include "smlivedecodersource.hh"
8 #include "smmorphoutput.hh"
9 #include "smadsrenvelope.hh"
10 #include "smlivedecoderfilter.hh"
18 class EffectDecoderSource;
24 std::unique_ptr<EffectDecoderSource> skip_source;
25 std::unique_ptr<ADSREnvelope> adsr_envelope;
26 std::unique_ptr<SimpleEnvelope> simple_envelope;
27 bool adsr_enabled =
false;
29 bool filter_enabled =
false;
31 float current_freq = 440;
39 void retrigger (
int channel,
float freq,
int midi_velocity);
47 double time_offset_ms()
const;
Definition: smeffectdecoder.hh:20
Definition: smlivedecoderfilter.hh:19
Definition: smlivedecodersource.hh:12
Definition: smlivedecoder.hh:19
Definition: smmorphoutputmodule.hh:14
Definition: smrtmemory.hh:16
Definition: smmorphoutput.hh:53