24 lines
416 B
C++
24 lines
416 B
C++
/*
|
|
* @file biquad.h
|
|
*
|
|
* @date Sep 10, 2016
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
|
*/
|
|
|
|
#ifndef CONTROLLERS_MATH_BIQUAD_H_
|
|
#define CONTROLLERS_MATH_BIQUAD_H_
|
|
|
|
#include "engine.h"
|
|
|
|
class Biquad {
|
|
public:
|
|
Biquad();
|
|
void initValue(float input DECLARE_ENGINE_PARAMETER_SUFFIX);
|
|
float getValue(float input);
|
|
|
|
float a0, a1, a2, b1, b2;
|
|
float z1, z2;
|
|
};
|
|
|
|
#endif /* CONTROLLERS_MATH_BIQUAD_H_ */
|