SpectMorph
Classes | Public Member Functions | List of all members
SpectMorph::MidiSynth Class Reference

Public Member Functions

 MidiSynth (double mix_freq, size_t n_voices)
 
void add_midi_event (size_t offset, const unsigned char *midi_data)
 
void process (float *output, size_t n_values, MidiSynthCallbacks *process_callbacks=nullptr)
 
void add_note_on_event (uint offset, int clap_id, int channel, int key, float velocity)
 
void add_note_off_event (uint offset, int channel, int key)
 
void add_control_input_event (uint offset, int i, float value)
 
void add_pitch_expression_event (uint offset, float value, int channel, int key)
 
void add_modulation_event (uint offset, int i, float value, int clap_id, int channel, int key)
 
void set_control_input (int i, float value)
 
void set_tempo (double tempo)
 
void set_ppq_pos (double ppq_pos)
 
MorphPlanSynth::UpdateP prepare_update (const MorphPlan &plan)
 
void apply_update (MorphPlanSynth::UpdateP update)
 
double mix_freq () const
 
size_t active_voice_count () const
 
void set_inst_edit (bool inst_edit)
 
void set_gain (double gain)
 
void set_control_by_cc (bool control_by_cc)
 
InstEditSynthinst_edit_synth ()
 
NotifyBuffernotify_buffer ()
 

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