43 static void process(
int count,
float *input0,
float *input1,
44 float *output0,
float *output1,
PluginDef*);
54 static void process(
int count,
float *input0,
float *input1,
55 float *output0,
float *output1,
PluginDef*);
59 static float get(
unsigned int channel) {
73#include "faust/low_high_cut.h"
81 low_high_cut::Dsp
lhc;
158 sigc::signal<void, const OscilloscopeInfo&>
changed;
165 sigc::signal<void, const OscilloscopeInfo&>&
signal_changed() {
return changed; }
233 sigc::signal<void, const GxSeqSettings*>
changed;
311 sigc::signal<void, const GxJConvSettings*>
changed;
369#include "faust/jconv_post.h"
370#include "faust/jconv_post_mono.h"
378 static void convolver(
int count,
float *input0,
float *input1,
379 float *output0,
float *output1,
PluginDef*);
426 virtual bool start(
bool force =
false) = 0;
458 virtual bool start(
bool force =
false) = 0;
471#include "faust/cabinet_impulse_former.h"
482 cabinet_impulse_former::Dsp
impf;
488 virtual bool start(
bool force =
false);
499#include "faust/cabinet_impulse_former_st.h"
510 cabinet_impulse_former_st::Dsp
impf;
517 virtual bool start(
bool force =
false);
533#include "faust/preamp_impulse_former.h"
544 preamp_impulse_former::Dsp
impf;
550 virtual bool start(
bool force =
false);
561#include "faust/preamp_impulse_former_st.h"
572 preamp_impulse_former_st::Dsp
impf;
579 virtual bool start(
bool force =
false);
594#include "faust/presence_level.h"
608 virtual bool start(
bool force =
false);
625 static LV2_URID
lv2_urid_map(LV2_URID_Map_Handle,
const char*
const uri_);
628#pragma GCC diagnostic push
629#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
630 static uint32_t
lv2_uri_to_id(LV2_URI_Map_Callback_Data handle,
const char*,
const char* uri);
633#pragma GCC diagnostic pop
737 {
return "ladspa"+uid_key.substr(9)+
".js"; }
758 void init(
unsigned int samplingFreq);
759 void compute(
int count,
float *input0,
float *input1,
float *output0,
float *output1);
787 int setup(
int _inputRate,
int _outputRate);
788 int run(
int count,
float *input,
float *output);
919 int do_resample(
int inrate,
int insize,
float *input,
int maxsize);
920 int do_mono(
int c,
int f,
float *oIn,
float *tape,
int n);
927 void init(
unsigned int samplingFreq);
928 void compute(
int count,
float *input0,
float *output0);
932 void save_to_wave(std::string fname,
float *tape,
float fSize,
int tape_size);
993 void init(
unsigned int samplingFreq);
994 void compute(
int count,
float *input0,
float *output0);
995 void compute_st(
int count,
float *input0,
float *input1,
float *output0,
float *output1);
1026#include "faust/drumseq.h"
1037 static void set_data(
float* mode,
bool ready,
float* buf);
1096 void init(
unsigned int samplingFreq);
1143#define M_PI 3.14159265358979323846
1144#define MAX_FRAME_LENGTH 8096
virtual bool start(bool force=false)=0
static int activate(bool start, PluginDef *pdef)
BaseConvolver(EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
bool check_update_timeout()
sigc::connection update_conn
virtual void check_update()=0
void change_buffersize(unsigned int)
static void init(unsigned int samplingFreq, PluginDef *p)
boost::mutex activate_mutex
virtual void check_update()
cabinet_impulse_former::Dsp impf
gx_resample::FixedRateResampler smp
virtual bool start(bool force=false)
static void run_cab_conf(int count, float *input, float *output, PluginDef *)
CabinetConvolver(EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
static int register_cab(const ParamReg ®)
CabinetStereoConvolver(EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
virtual void check_update()
gx_resample::FixedRateResampler smps
static void run_cab_conf(int count, float *input, float *input1, float *output, float *output1, PluginDef *)
~CabinetStereoConvolver()
virtual bool start(bool force=false)
gx_resample::FixedRateResampler smp
cabinet_impulse_former_st::Dsp impf
static int register_cab(const ParamReg ®)
static int register_con(const ParamReg ®)
gx_resample::FixedRateResampler smp
virtual void check_update()
virtual bool start(bool force=false)
static void run_contrast(int count, float *input, float *output, PluginDef *)
ContrastConvolver(EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
presence_level::Dsp presl
const std::string & getIRFile() const
void change_buffersize(unsigned int size)
boost::mutex activate_mutex
const std::string & getIRDir() const
ParamMap & get_parameter_map() const
const GxJConvSettings & get_jcset() const
std::string getFullIRPath() const
bool set(const GxJConvSettings &jcset) const
ConvolverAdapter(EngineControl &engine, sigc::slot< void > sync)
static int convolver_register(const ParamReg ®)
static void convolver(int count, float *input, float *output, PluginDef *)
ConvolverMonoAdapter(EngineControl &engine, sigc::slot< void > sync)
static void convolver_init(unsigned int samplingFreq, PluginDef *pdef)
static int activate(bool start, PluginDef *pdef)
jconv_post_mono::Dsp jc_post_mono
static int jconv_load_ui(const UiBuilder &builder, int format)
static void convolver(int count, float *input0, float *input1, float *output0, float *output1, PluginDef *)
static void convolver_init(unsigned int samplingFreq, PluginDef *pdef)
ConvolverStereoAdapter(EngineControl &engine, sigc::slot< void > sync)
static int activate(bool start, PluginDef *pdef)
~ConvolverStereoAdapter()
static int convolver_register(const ParamReg ®)
static int jconv_load_ui(const UiBuilder &builder, int format)
static void compute_static(int count, float *input0, float *input1, float *output0, float *output1, PluginDef *)
void set_data(bool dfill)
static void init_static(unsigned int samplingFreq, PluginDef *)
Directout(EngineControl &engine, sigc::slot< void > sync)
void change_buffersize(unsigned int size)
static Plugin directoutput
void compute(int count, float *input0, float *input1, float *output0, float *output1)
void init(unsigned int samplingFreq)
void compute(int count, FAUSTFLOAT *input0, FAUSTFLOAT *output0)
DrumSequencer(EngineControl &engine, sigc::slot< void > sync)
std::vector< int > Vecsnare
std::vector< int > Vectom1
static void init_static(unsigned int samplingFreq, PluginDef *)
void change_buffersize(unsigned int size)
std::vector< int > Vectom
void init(unsigned int samplingFreq)
static int drum_load_ui(const UiBuilder &builder, int format)
std::vector< int > Vechat
static void del_instance(PluginDef *p)
std::vector< int > Veckick
static void compute_static(int count, FAUSTFLOAT *input0, FAUSTFLOAT *output0, PluginDef *)
int register_par(const ParamReg ®)
std::vector< int > Vectom2
static int register_params_static(const ParamReg ®)
static Plugin output_drum
static void set_plugin(Plugin p)
static void set_data(float *mode, bool ready, float *buf)
static void outputdrum_compute(int count, float *input0, float *input1, float *output0, float *output1, PluginDef *)
static PluginDef outputdrum
boost::mutex activate_mutex
virtual void check_update()=0
bool check_update_timeout()
FixedBaseConvolver(EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
static int activate(bool start, PluginDef *pdef)
static void init(unsigned int samplingFreq, PluginDef *p)
virtual bool start(bool force=false)=0
void change_buffersize(unsigned int)
virtual ~FixedBaseConvolver()
unsigned int getSamplingFreq()
unsigned int SamplingFreq
sigc::connection update_conn
void read_gainline(gx_system::JsonParser &jp)
void setLength(guint leng)
void writeJSON(gx_system::JsonWriter &w) const
void setIRFile(string name)
void readJSON(gx_system::JsonParser &jp)
const Gainline & getGainline() const
std::string getFullIRPath() const
bool operator==(const GxJConvSettings &jcset) const
void setFullIRPath(string name)
void setOffset(guint offs)
void setGainCor(bool gain)
const std::string & getIRFile() const
GxJConvSettings & operator=(GxJConvSettings const &jcset)
const std::string & getIRDir() const
void setGainline(const Gainline &gain)
void setIRDir(string name)
void writeJSON(gx_system::JsonWriter &w) const
bool operator==(const GxSeqSettings &seqset) const
GxSeqSettings & operator=(GxSeqSettings const &seqset)
std::vector< int > seqline
const std::vector< int > & getseqline() const
void read_seqline(gx_system::JsonParser &jp)
void readJSON(gx_system::JsonParser &jp)
friend class SequencerAdapter
void setseqline(const std::vector< int > &seq)
LV2Features(LV2Features const &)=delete
static LV2_Options_Option gx_options[2]
static LV2Features & getInstance()
static const char * lv2_urid_unmap(LV2_URID_Unmap_Handle, const LV2_URID urid)
void operator=(LV2Features const &)=delete
static uint32_t lv2_uri_to_id(LV2_URI_Map_Callback_Data handle, const char *, const char *uri)
static LV2_Feature gx_options_feature
static LV2_Feature gx_urid_map_feature
static LV2_URID_Map gx_urid_map
static LV2_Feature gx_uri_map_feature
static LV2_Feature gx_urid_unmap_feature
static LV2_URID_Unmap gx_urid_unmap
static LV2_URID lv2_urid_map(LV2_URID_Map_Handle, const char *const uri_)
static LV2_Feature * gx_features[]
static LV2_URI_Map_Feature gx_uri_map
void update_instance(PluginDef *pdef, plugdesc *pdesc)
pluginarray::iterator begin()
static std::string get_ladspa_filename(unsigned long uid)
pluginarray::iterator end()
void read_module_list(pluginarray &p)
const LilvPlugins * lv2_plugins
void set_plugins(pluginarray &new_plugins)
bool load(pluginarray &p)
static std::string get_ladspa_filename(std::string uid_key)
LadspaLoader(const gx_system::CmdlineOptions &options, ParamMap ¶m)
LilvNode * lv2_ControlPort
ParamMap & get_parameter_map() const
const gx_system::CmdlineOptions & options
std::vector< plugdesc * > pluginarray
PluginDef * create(const plugdesc *p)
LilvNode * lv2_OutputPort
void read_module_config(const std::string &filename, plugdesc *p)
PluginDef * create(unsigned int idx)
pluginarray::iterator find(plugdesc *desc)
int setup(int _inputRate, int _outputRate)
int run(int count, float *input, float *output)
int max_out_count(int in_count)
void save_to_wave(std::string fname, float *tape, float fSize, int tape_size)
static void del_instance(PluginDef *p)
int do_mono(int c, int f, float *oIn, float *tape, int n)
Glib::ustring preset_name
int register_par(const ParamReg ®)
void init(unsigned int samplingFreq)
int load_from_wave(std::string fname, float **tape, int tape_size)
static int activate_static(bool start, PluginDef *)
int do_resample(int inrate, int insize, float *input, int maxsize)
static void compute_static(int count, float *input0, float *output0, PluginDef *)
void save_array(std::string name)
static void init_static(unsigned int samplingFreq, PluginDef *)
static void clear_state_f_static(PluginDef *)
int load_ui_f(const UiBuilder &b, int form)
void load_array(std::string name)
void compute(int count, float *input0, float *output0)
static int register_params_static(const ParamReg ®)
LiveLooper(ParamMap ¶m_, sigc::slot< void > sync, const string &loop_dir_)
static int load_ui_f_static(const UiBuilder &b, int form)
static const unsigned int channelcount
static float get(unsigned int channel)
static void process(int count, float *input0, float *input1, float *output0, float *output1, PluginDef *)
static int regparam(const ParamReg ®)
static int activate(bool start, PluginDef *plugin)
static float maxlevel[channelcount]
static void process(int count, float *input, float *output, PluginDef *)
static PluginDef outputgate
static void inputlevel_compute(int count, float *input0, float *output0, PluginDef *)
static int noisegate_register(const ParamReg ®)
static PluginDef inputdef
static void outputgate_compute(int count, float *input, float *output, PluginDef *)
static int outputgate_activate(bool start, PluginDef *pdef)
void set_jack(gx_jack::GxJack &jack)
static int osc_register(const ParamReg ®)
OscilloscopeAdapter(ModuleSequencer &engine)
float * get_buffer() const
void set_mul_buffer(int a, unsigned int b)
static int osc_load_ui(const UiBuilder &builder, int format)
void change_buffersize(unsigned int)
static void fill_buffer(int count, float *input0, float *output0, PluginDef *)
unsigned int get_size() const
sigc::signal< void(unsigned int, float *)> signal_size_change()
void writeJSON(gx_system::JsonWriter &w) const
unsigned int get_buffer_size() const
sigc::signal< void(unsigned int, float *)> size_change
float * get_buffer() const
void readJSON(gx_system::JsonParser &jp)
virtual void serializeJSON(gx_system::JsonWriter &jw)
ParameterV(const string &id, ConvolverAdapter &conv, GxJConvSettings *v)
bool set(const GxJConvSettings &val) const
virtual void readJSON_value(gx_system::JsonParser &jp)
const GxJConvSettings & get_value() const
static ParameterV< GxJConvSettings > * insert_param(ParamMap &pmap, const string &id, ConvolverAdapter &conv, GxJConvSettings *v)
GxJConvSettings std_value
sigc::signal< void, const GxJConvSettings * > changed
virtual bool on_off_value()
virtual void writeJSON(gx_system::JsonWriter &jw) const
sigc::signal< void, const GxJConvSettings * > & signal_changed()
GxJConvSettings json_value
GxJConvSettings value_storage
ParameterV(gx_system::JsonParser &jp)
virtual bool compareJSON_value()
virtual void stdJSON_value()
virtual void setJSON_value()
bool set(const GxSeqSettings &val) const
virtual void writeJSON(gx_system::JsonWriter &jw) const
virtual void setJSON_value()
sigc::signal< void, const GxSeqSettings * > & signal_changed()
virtual void readJSON_value(gx_system::JsonParser &jp)
GxSeqSettings value_storage
const GxSeqSettings & get_value() const
virtual void serializeJSON(gx_system::JsonWriter &jw)
virtual bool on_off_value()
sigc::signal< void, const GxSeqSettings * > changed
virtual bool compareJSON_value()
ParameterV(gx_system::JsonParser &jp)
virtual void stdJSON_value()
static ParameterV< GxSeqSettings > * insert_param(ParamMap &pmap, const string &id, GxSeqSettings *v)
ParameterV(const string &id, GxSeqSettings *v)
ParameterV(const string &id, OscilloscopeInfo *v)
ParameterV(gx_system::JsonParser &jp)
sigc::signal< void, const OscilloscopeInfo & > & signal_changed()
OscilloscopeInfo value_storage
virtual bool compareJSON_value() override
virtual void setJSON_value() override
virtual void serializeJSON(gx_system::JsonWriter &jw) override
OscilloscopeInfo & get_value() const
virtual void writeJSON(gx_system::JsonWriter &jw) const override
virtual void stdJSON_value() override
static ParameterV< OscilloscopeInfo > * insert_param(ParamMap &pmap, const string &id, OscilloscopeInfo *v)
sigc::signal< void, const OscilloscopeInfo & > changed
virtual void readJSON_value(gx_system::JsonParser &jp) override
virtual bool on_off_value() override
void trigger_changed() override
Glib::Dispatcher new_freq
float get_estimated_freq()
float get_estimated_note()
virtual void check_update()
gx_resample::FixedRateResampler smp
virtual bool start(bool force=false)
static int register_pre(const ParamReg ®)
static void run_pre_conf(int count, float *input, float *output, PluginDef *)
preamp_impulse_former::Dsp impf
PreampConvolver(EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
gx_resample::FixedRateResampler smps
static int register_pre(const ParamReg ®)
virtual bool start(bool force=false)
preamp_impulse_former_st::Dsp impf
virtual void check_update()
PreampStereoConvolver(EngineControl &engine, sigc::slot< void > sync, gx_resample::BufferResampler &resamp)
static void run_pre_conf(int count, float *input, float *input1, float *output, float *output1, PluginDef *)
gx_resample::FixedRateResampler smp
static int activate_static(bool start, PluginDef *)
void close_stream(SNDFILE **sf)
void save_to_wave(SNDFILE *sf, float *tape, int lSize)
static void compute_static_st(int count, float *input0, float *input1, float *output0, float *output1, PluginDef *)
volatile bool keep_stream
std::string get_ffilename()
void compute(int count, float *input0, float *output0)
SNDFILE * open_stream(std::string fname)
static void init_static(unsigned int samplingFreq, PluginDef *)
static void * run_thread(void *p)
void init(unsigned int samplingFreq)
static void clear_state_f_static(PluginDef *)
int load_ui_f(const UiBuilder &b, int form)
SCapture(EngineControl &engine, int channel_)
static const char * glade_def
static void compute_static(int count, float *input0, float *output0, PluginDef *)
static int load_ui_f_static(const UiBuilder &b, int form)
void compute_st(int count, float *input0, float *input1, float *output0, float *output1)
int register_par(const ParamReg ®)
static void del_instance(PluginDef *p)
static int register_params_static(const ParamReg ®)
static const char * glade_def_st
static void process(int count, float *input0, float *input1, float *output0, float *output1, PluginDef *)
static int regparam(const ParamReg ®)
static void feed_tuner(int count, float *input, float *output, PluginDef *)
void set_and_check(int use, bool on)
static int activate(bool start, PluginDef *plugin)
TunerAdapter(ModuleSequencer &engine)
void used_for_switching(bool on)
void set_dep_module(Plugin *dep)
PitchTracker pitch_tracker
void used_by_midi(bool on)
void used_for_display(bool on)
static void init(unsigned int samplingFreq, PluginDef *plugin)
Glib::Dispatcher & signal_freq_changed()
void readJSON(gx_system::JsonParser &jp)
Glib::ustring master_label
std::vector< paradesc * > names
void writeJSON(gx_system::JsonWriter &jw)
float gSynMagn[MAX_FRAME_LENGTH]
void PitchShift(int count, float *indata, float *outdata)
float gInFIFO[MAX_FRAME_LENGTH]
gx_resample::SimpleResampler resamp
float gAnaMagn[MAX_FRAME_LENGTH]
float gLastPhase[MAX_FRAME_LENGTH/2+1]
float gSynFreq[MAX_FRAME_LENGTH]
int load_ui_f(const UiBuilder &b, int form)
fftwf_complex fftw_out[MAX_FRAME_LENGTH]
float gAnaFreq[MAX_FRAME_LENGTH]
static void compute_static(int count, float *input0, float *output0, PluginDef *p)
static int activate_static(bool start, PluginDef *)
smbPitchShift(EngineControl &engine, sigc::slot< void > sync)
float gOutputAccum[2 *MAX_FRAME_LENGTH]
static void init(unsigned int sampleRate, PluginDef *plugin)
static int registerparam(const ParamReg ®)
static int load_ui_f_static(const UiBuilder &b, int form)
fftwf_complex fftw_in[MAX_FRAME_LENGTH]
static void del_instance(PluginDef *p)
float gSumPhase[MAX_FRAME_LENGTH/2+1]
int register_par(const ParamReg ®)
void change_buffersize(unsigned int size)
bool setParameters(int sampleRate)
float gOutFIFO[MAX_FRAME_LENGTH]
ParameterV< OscilloscopeInfo > OscParameter
ParameterV< GxSeqSettings > SeqParameter
ParameterV< GxJConvSettings > JConvParameter
std::string to_string(const T &t)
Parameter registration function pointers.
void writeJSON(gx_system::JsonWriter &jw)
void readJSON(gx_system::JsonParser &jp)
void set_valuelist(const std::vector< std::string > &v)