SpectMorph
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
SpectMorph::MorphPlanSynth Class Reference

Classes

struct  FullUpdateVoice
 
struct  OpModule
 
struct  Update
 

Public Types

typedef std::shared_ptr< UpdateUpdateP
 

Public Member Functions

 MorphPlanSynth (float mix_freq, size_t n_voices)
 
UpdateP prepare_update (const MorphPlan &new_plan)
 
void apply_update (UpdateP update)
 
void update_shared_state (const TimeInfo &time_info)
 
MorphPlanVoicevoice (size_t i) const
 
float mix_freq () const
 
bool have_output () const
 
Randomrandom_gen ()
 
bool have_cycle () const
 

Protected Attributes

std::vector< MorphPlanVoice * > voices
 
std::vector< std::unique_ptr< MorphModuleSharedState > > voices_shared_states
 
std::vector< std::string > m_last_update_ids
 
std::string m_last_plan_id
 
std::vector< std::unique_ptr< MorphOperatorConfig > > m_active_configs
 
float m_mix_freq
 
Random m_random_gen
 
bool m_have_cycle = false
 

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