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

@ -45,6 +45,8 @@ static inline float crossfade(float amount, float a, float b) {
} }
void PluginFx::init(int sampleRate) { void PluginFx::init(int sampleRate) {
uiCutoff = 0;
uiReso = 0;
srate = sampleRate; srate = sampleRate;
output = 0; output = 0;
for(int i=0;i<4;i++) for(int i=0;i<4;i++)

@ -21,11 +21,11 @@ class PluginFx {
float p, Q; float p, Q;
int srate; int srate;
float state[4]; float state[4];
float output = 0; float output;
public: public:
float uiCutoff = 0; float uiCutoff;
float uiReso = 0; float uiReso;
void init(int sampleRate); void init(int sampleRate);
void process(float *work, int sampleSize); void process(float *work, int sampleSize);

@ -46,6 +46,7 @@ DexedAudioProcessor::DexedAudioProcessor() {
workBlock = NULL; workBlock = NULL;
initCtrl(); initCtrl();
setCurrentProgram(0); setCurrentProgram(0);
sendSysexChange = true;
} }
DexedAudioProcessor::~DexedAudioProcessor() { DexedAudioProcessor::~DexedAudioProcessor() {

@ -94,7 +94,7 @@ public :
static const int REFRESH_COMP = 1 << 1; static const int REFRESH_COMP = 1 << 1;
int refreshUI; int refreshUI;
bool sendSysexChange = true; bool sendSysexChange;
char data[161]; char data[161];
Array<Ctrl*> ctrl; Array<Ctrl*> ctrl;

Loading…
Cancel
Save