3 #ifndef SPECTMORPH_MORPH_LFO_MODULE_HH
4 #define SPECTMORPH_MORPH_LFO_MODULE_HH
6 #include "smmorphoperatormodule.hh"
7 #include "smmorphlfo.hh"
21 double last_random_value = 0;
22 double random_value = 0;
25 double last_ppq_pos = 0;
26 double last_time_ms = 0;
31 bool initialized =
false;
32 LFOState global_lfo_state;
34 SharedState *shared_state =
nullptr;
38 void update_lfo_value (LFOState& state,
const TimeInfo& time_info);
39 void restart_lfo (LFOState& state,
const TimeInfo& time_info);
45 float value()
override;
46 void reset_value (
const TimeInfo& time_info)
override;
47 void update_shared_state (
const TimeInfo& time_info)
override;
Definition: smmorphlfomodule.hh:14
Definition: smmorphoperatormodule.hh:20
Definition: smmorphoperatormodule.hh:27
Definition: smmorphplanvoice.hh:16
Definition: smtimeinfo.hh:11
Definition: smmorphlfo.hh:56
Definition: smmorphoperator.hh:18