33#ifdef USE_MEMORY_MANAGER
47 def.bits_per_sample = 16;
48 def.sample_rate = 44100;
63#ifdef USE_MEMORY_MANAGER
66 p_dsp = DSP::create();
107 p_dsp->instanceClear();
108#ifdef USE_MEMORY_MANAGER
147 LOGD(
"FaustStream::write: %d", len);
180 LOGI(
"setLabelValue('%s',%f) -> %s", label, value, result?
"true":
"false");
259 LOGE(
"NumInputs is not matching with number of channels");
262 if (
p_dsp->getNumInputs()>0){
266 LOGE(
"Faust expects input - you need to provide and AudioStream in the constructor");
349 for (
int j=0;
j<
ch;
j++){
357 for (
int j=0;
j<
ch;
j++){
383 return 440.0 * pow(2.0f, (note-69)/12);
#define FAUSTFLOAT
Definition AudioFaustDSP.h:9
#define LOGW(...)
Definition AudioLoggerIDF.h:29
#define TRACED()
Definition AudioLoggerIDF.h:31
#define LOGI(...)
Definition AudioLoggerIDF.h:28
#define TRACEE()
Definition AudioLoggerIDF.h:34
#define LOGD(...)
Definition AudioLoggerIDF.h:27
#define LOGE(...)
Definition AudioLoggerIDF.h:30
#define DEFAULT_BUFFER_SIZE
Definition avr.h:20
Minimum implementation of UI parameters. We only support the setting and getting of values.
Definition AudioFaustDSP.h:52
virtual float getValue(const char *label)
Definition AudioFaustDSP.h:63
virtual bool exists(const char *label)
checks if a label exists
Definition AudioFaustDSP.h:130
virtual bool setValue(const char *label, float value)
Definition AudioFaustDSP.h:70
Memory manager which uses psram when it is available.
Definition AudioFaustDSP.h:181
minimal dsp base class needed by Faust
Definition AudioFaustDSP.h:25