3 #ifndef SPECTMORPH_MODULATION_LIST_HH
4 #define SPECTMORPH_MODULATION_LIST_HH
8 #include "smmorphoperator.hh"
19 Property::Scale property_scale = Property::Scale::NONE;
24 float value_scale = 0;
26 MorphOperator::ControlType main_control_type = MorphOperator::CONTROL_GUI;
31 MorphOperator::ControlType control_type = MorphOperator::CONTROL_SIGNAL_1;
37 std::vector<Entry> entries;
46 std::string compat_type_name;
47 std::string compat_op_name;
49 std::string compat_main_control_op;
50 MorphOperator::ControlType compat_main_control_type;
52 bool have_compat_main_control_op =
false;
53 bool have_compat_main_control_type =
false;
55 std::vector<std::string> load_control_ops;
56 std::string m_main_control_op;
60 MorphOperator::ControlType main_control_type()
const;
63 void set_main_control_type_and_op (MorphOperator::ControlType type,
MorphOperator *op);
69 void remove_entry (
size_t index);
70 void set_compat_type_and_op (
const std::string& type,
const std::string& op);
72 std::string event_name (
const std::string&
id,
int index = -1);
73 bool split_event_name (
const std::string& name,
const std::string& start,
int& index);
74 bool load (
InFile& in_file);
75 void post_load (MorphOperator::OpNameMap& op_name_map);
76 void get_dependencies (std::vector<MorphOperator *>& deps);
84 Signal<> signal_main_control_changed;
Class to read SpectMorph binary data.
Definition: sminfile.hh:27
Definition: smmodulationlist.hh:17
Definition: smmodulationlist.hh:41
Definition: smmorphoperator.hh:147
Definition: smmorphoperator.hh:27
Definition: smoutfile.hh:19
Definition: smproperty.hh:25
Definition: smsignal.hh:35
Definition: smsignal.hh:150
Definition: smmodulationlist.hh:30