You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dexed/Source/PluginFx.h

35 lines
719 B

/*
==============================================================================
PluginFx.h
Created: 26 Dec 2013 7:13:29pm
Author: Pascal Gauthier
==============================================================================
*/
#ifndef PLUGINFX_H_INCLUDED
#define PLUGINFX_H_INCLUDED
class PluginFx {
/**
* Used for the 4pole LFP
*/
// process and ui values
float pReso;
float pCutoff;
float p, Q;
int srate;
float state[4];
float output = 0;
public:
float uiCutoff = 0;
float uiReso = 0;
void init(int sampleRate);
void process(float *work, int sampleSize);
};
#endif // PLUGINFX_H_INCLUDED