mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
24 lines
468 B
C++
24 lines
468 B
C++
/*******************************************/
|
|
/* Noise Generator Class, */
|
|
/* by Perry R. Cook, 1995-96 */
|
|
/* White noise as often as you like. */
|
|
/*******************************************/
|
|
|
|
#if !defined(__Noise_h)
|
|
#define __Noise_h
|
|
|
|
#include "Object.h"
|
|
|
|
class Noise : public Object
|
|
{
|
|
protected:
|
|
MY_FLOAT lastOutput;
|
|
public:
|
|
Noise();
|
|
virtual ~Noise();
|
|
MY_FLOAT tick();
|
|
MY_FLOAT lastOut();
|
|
};
|
|
|
|
#endif
|