SpectMorph
Public Types | Public Member Functions | Protected Attributes | List of all members
SpectMorph::MorphLFO Class Reference
Inheritance diagram for SpectMorph::MorphLFO:
SpectMorph::MorphOperator SpectMorph::SignalReceiver

Public Types

enum  WaveType { WAVE_SINE = 1, WAVE_TRIANGLE = 2 }
 
- Public Types inherited from SpectMorph::MorphOperator
enum  OutputType { OUTPUT_NONE, OUTPUT_AUDIO, OUTPUT_CONTROL }
 

Public Member Functions

 MorphLFO (MorphPlan *morph_plan)
 
const char * type ()
 
int insert_order ()
 
bool save (OutFile &out_file)
 
bool load (InFile &in_file)
 
OutputType output_type ()
 
WaveType wave_type ()
 
void set_wave_type (WaveType new_wave_type)
 
float frequency () const
 
void set_frequency (float new_frequency)
 
float depth () const
 
void set_depth (float new_depth)
 
float center () const
 
void set_center (float new_center)
 
float start_phase () const
 
void set_start_phase (float new_start_phase)
 
bool sync_voices () const
 
void set_sync_voices (float new_sync_voices)
 
- Public Member Functions inherited from SpectMorph::MorphOperator
 MorphOperator (MorphPlan *morph_plan)
 
virtual void post_load (OpNameMap &op_name_map)
 
MorphPlanmorph_plan ()
 
std::string type_name ()
 
std::string name ()
 
void set_name (const std::string &name)
 
bool can_rename (const std::string &name)
 
std::string id ()
 
void set_id (const std::string &id)
 
bool folded () const
 
void set_folded (bool folded)
 
- Public Member Functions inherited from SpectMorph::SignalReceiver
template<class... Args, class CbFunction >
uint64 connect (Signal< Args... > &signal, const CbFunction &callback)
 
template<class... Args, class Instance , class Method >
uint64 connect (Signal< Args... > &signal, Instance *instance, const Method &method)
 
void disconnect (uint64 id)
 
void dead_signal (uint64 id)
 

Protected Attributes

WaveType m_wave_type
 
float m_frequency
 
float m_depth
 
float m_center
 
float m_start_phase
 
bool m_sync_voices
 
- Protected Attributes inherited from SpectMorph::MorphOperator
MorphPlanm_morph_plan
 
std::string m_name
 
std::string m_id
 
bool m_folded
 

Additional Inherited Members

- Static Public Member Functions inherited from SpectMorph::MorphOperator
static MorphOperatorcreate (const std::string &type, MorphPlan *plan)
 
- Protected Types inherited from SpectMorph::MorphOperator
typedef std::map< std::string, MorphOperator * > OpNameMap
 
- Protected Member Functions inherited from SpectMorph::MorphOperator
void write_operator (OutFile &file, const std::string &name, MorphOperator *op)
 

The documentation for this class was generated from the following files: