Version 3.2

This commit is contained in:
Gary Scavone
2013-09-25 14:47:10 +02:00
committed by Stephen Sinclair
parent 4b6500d3de
commit 3f126af4e5
443 changed files with 11772 additions and 8060 deletions

27
include/TwoZero.h Normal file
View File

@@ -0,0 +1,27 @@
/*******************************************/
/* Two Zero Filter Class, */
/* by Perry R. Cook, 1995-96 */
/* See books on filters to understand */
/* more about how this works. Nothing */
/* out of the ordinary in this version. */
/*******************************************/
#if !defined(__TwoZero_h)
#define __TwoZero_h
#include "Filter.h"
class TwoZero : public Filter
{
protected:
MY_FLOAT zeroCoeffs[2];
public:
TwoZero();
~TwoZero();
void clear();
void setZeroCoeffs(MY_FLOAT *coeffs);
void setGain(MY_FLOAT aValue);
MY_FLOAT tick(MY_FLOAT sample);
};
#endif