mirror of
https://github.com/thestk/stk
synced 2026-01-17 06:41:51 +00:00
Version 3.2
This commit is contained in:
committed by
Stephen Sinclair
parent
4b6500d3de
commit
3f126af4e5
29
include/SamplFlt.h
Normal file
29
include/SamplFlt.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/*******************************************/
|
||||
/* 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
|
||||
Reference in New Issue
Block a user