pull/1/head
Pascal Gauthier 11 years ago
parent f37cdbdfd8
commit 8415df4d3a
  1. 4
      Source/PluginFx.cpp
  2. 6
      Source/PluginFx.h
  3. 1
      Source/PluginProcessor.cpp
  4. 2
      Source/PluginProcessor.h

@ -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;
srate = sampleRate;
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;

Loading…
Cancel
Save