18 #ifndef _ardour_fluidsynth_h_
19 #define _ardour_fluidsynth_h_
28 #include "fluidsynth.h"
44 bool synth (
float* left,
float* right, uint32_t n_samples);
58 if (pgm >= _presets.size()) {
return ""; }
59 return _presets[pgm].name;
fluid_midi_event_t * _f_midi_event
fluid_settings_t * _settings
std::vector< BankProgram > _presets
bool synth(float *left, float *right, uint32_t n_samples)
bool select_program(uint32_t pgm, uint8_t chan)
std::string program_name(uint32_t pgm) const
uint32_t program_count() const
FluidSynth(float samplerate, int polyphony=256)
bool load_sf2(const std::string &fn)
bool midi_event(uint8_t const *const data, size_t len)
GtkImageIconNameData name
BankProgram(const BankProgram &other)
BankProgram(const std::string &n, int b, int p)