mirror of https://github.com/dcoredump/dexed.git
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.
34 lines
707 B
34 lines
707 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;
|
|
public:
|
|
|
|
float uiCutoff;
|
|
float uiReso;
|
|
|
|
void init(int sampleRate);
|
|
void process(float *work, int sampleSize);
|
|
};
|
|
|
|
#endif // PLUGINFX_H_INCLUDED
|
|
|