@ -45,7 +45,9 @@ static inline float crossfade(float amount, float a, float b) {
}
void PluginFx::init(int sampleRate) {
srate = sampleRate;
uiCutoff = 0;
uiReso = 0;
output = 0;
for(int i=0;i<4;i++)
state[i] = 0;
@ -21,11 +21,11 @@ class PluginFx {
float p, Q;
int srate;
float state[4];
float output = 0;
float output;
public:
float uiCutoff = 0;
float uiReso = 0;
float uiCutoff;
float uiReso;
void init(int sampleRate);
void process(float *work, int sampleSize);
@ -46,6 +46,7 @@ DexedAudioProcessor::DexedAudioProcessor() {
workBlock = NULL;
initCtrl();
setCurrentProgram(0);
sendSysexChange = true;
DexedAudioProcessor::~DexedAudioProcessor() {
@ -94,7 +94,7 @@ public :
static const int REFRESH_COMP = 1 << 1;
int refreshUI;
bool sendSysexChange = true;
bool sendSysexChange;
char data[161];
Array<Ctrl*> ctrl;