SpectMorph
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SpectMorph::Project Class Reference
Inheritance diagram for SpectMorph::Project:
SpectMorph::SignalReceiver

Public Types

enum class  StorageModel { COPY , REFERENCE }
 

Public Member Functions

Instrumentget_instrument (MorphWavSource *wav_source)
 
void rebuild (MorphWavSource *wav_source)
 
void add_rebuild_result (int object_id, std::unique_ptr< WavSet > &wav_set)
 
void clear_wav_sets (std::vector< std::unique_ptr< WavSet >> &wav_sets)
 
bool rebuild_active (int object_id)
 
WavSetget_wav_set (int object_id)
 
void synth_take_control_event (SynthControlEvent *event)
 
std::mutex & synth_mutex ()
 
bool try_update_synth ()
 
void set_mix_freq (double mix_freq)
 
void set_storage_model (StorageModel model)
 
void set_state_changed_notify (bool notify)
 
void state_changed ()
 
void set_volume (double new_volume)
 
double volume () const
 
NotifyBuffernotify_buffer ()
 
SynthInterfacesynth_interface () const
 
MidiSynthmidi_synth () const
 
MorphPlanmorph_plan ()
 
UserInstrumentIndexuser_instrument_index ()
 
Error save (const std::string &filename)
 
Error save (ZipWriter &zip_writer, MorphPlan::ExtraParameters *params)
 
Error load (const std::string &filename)
 
Error load (ZipReader &zip_reader, MorphPlan::ExtraParameters *params)
 
Error load_compat (GenericIn *in, MorphPlan::ExtraParameters *params)
 
std::string save_plan_lv2 (std::function< std::string(std::string)> abstract_path)
 
void load_plan_lv2 (std::function< std::string(std::string)> absolute_path, const std::string &plan)
 
void clear_lv2_filenames ()
 
- 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)
 

Public Attributes

Signal< double > signal_volume_changed
 

Static Public Attributes

static constexpr size_t WAV_SETS_RESERVE = 256
 

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