mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
30 lines
738 B
C++
30 lines
738 B
C++
/*******************************************/
|
|
/* Swept Filter SubClass of Sampling */
|
|
/* Synthesizer, by Perry R. Cook, 1995-96*/
|
|
/* This instrument inherits up to 5 */
|
|
/* attack waves, 5 looped waves, an ADSR */
|
|
/* envelope, and adds a 4 pole swept */
|
|
/* filter. */
|
|
/*******************************************/
|
|
|
|
#if !defined(__SamplFlt_h)
|
|
#define __SamplFlt_h
|
|
|
|
#include "Sampler.h"
|
|
#include "FormSwep.h"
|
|
#include "TwoZero.h"
|
|
|
|
class SamplFlt : public Sampler
|
|
{
|
|
protected:
|
|
FormSwep *filters[2];
|
|
TwoZero *twozeroes[2];
|
|
public:
|
|
SamplFlt();
|
|
virtual ~SamplFlt();
|
|
virtual MY_FLOAT tick();
|
|
virtual void controlChange(int number, MY_FLOAT value);
|
|
};
|
|
|
|
#endif
|