21 #ifndef LIQUIDSFZ_LIQUIDSFZ_HH 22 #define LIQUIDSFZ_LIQUIDSFZ_HH 53 std::unique_ptr<Impl> impl;
72 std::string label()
const;
80 bool has_label()
const;
87 int default_value()
const;
96 std::unique_ptr<Impl> impl;
107 void set_sample_rate (uint sample_rate);
114 void set_max_voices (uint n_voices);
121 void set_gain (
float gain);
130 bool load (
const std::string& filename);
137 std::vector<CCInfo> list_ccs()
const;
153 void add_event_note_on (uint time_frames,
int channel,
int key,
int velocity);
167 void add_event_note_off (uint time_frames,
int channel,
int key);
182 void add_event_cc (uint time_frames,
int channel,
int cc,
int value);
197 void add_event_pitch_bend (uint time_frames,
int channel,
int value);
220 void process (
float **outputs, uint n_frames);
236 void set_log_level (
Log log_level);
243 void set_log_function (std::function<
void (
Log,
const char *)> log_function);
256 void set_progress_function (std::function<
void (
double)> progress_function);
Log
Log levels for LiquidSFZ::Synth.
Definition: liquidsfz.hh:37
SFZ Synthesizer (main API)
Definition: liquidsfz.hh:93
Information for one continuous controller.
Definition: liquidsfz.hh:48
Definition: liquidsfz.hh:31