mirror of
https://github.com/thestk/stk
synced 2026-01-18 23:21:53 +00:00
Version 3.2
This commit is contained in:
committed by
Stephen Sinclair
parent
4b6500d3de
commit
3f126af4e5
25
include/SubNoise.h
Normal file
25
include/SubNoise.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*******************************************/
|
||||
/* SubSampled Noise Generator Class, */
|
||||
/* by Perry R. Cook, 1995-96 */
|
||||
/* White noise as often as you like. */
|
||||
/*******************************************/
|
||||
|
||||
#if !defined(__SubNoise_h)
|
||||
#define __SubNoise_h
|
||||
|
||||
#include "Noise.h"
|
||||
|
||||
class SubNoise : public Noise
|
||||
{
|
||||
protected:
|
||||
int counter;
|
||||
int howOften;
|
||||
public:
|
||||
SubNoise();
|
||||
~SubNoise();
|
||||
SubNoise(int subSample);
|
||||
void setHowOften(int howOft);
|
||||
MY_FLOAT tick();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user