Home Information Classes Download Usage Mail List Requirements Links Tutorial

# Noise.h

    00001 /***************************************************/
    00011 /***************************************************/
    00012
    00013 #if !defined(__NOISE_H)
    00014 #define __NOISE_H
    00015
    00016 #include "Stk.h"
    00017
    00018 class Noise : public Stk
    00019 {
    00020 public:
    00021
    00023   Noise();
    00024
    00026
    00030   Noise( unsigned int seed );
    00031
    00033   virtual ~Noise();
    00034
    00036
    00040   void setSeed( unsigned int seed = 0 );
    00041
    00043   virtual MY_FLOAT tick();
    00044
    00046   virtual MY_FLOAT *tick(MY_FLOAT *vector, unsigned int vectorSize);
    00047
    00049   MY_FLOAT lastOut() const;
    00050
    00051 protected:
    00052
    00053   MY_FLOAT lastOutput;
    00054
    00055 };
    00056
    00057 #endif

The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.