Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


Generator.h

00001 /***************************************************/
00010 /***************************************************/
00011 
00012 #ifndef STK_GENERATOR_H
00013 #define STK_GENERATOR_H
00014 
00015 #include "Stk.h"
00016 
00017 class Generator : public Stk
00018 {
00019  public:
00021   Generator();
00022 
00024   virtual ~Generator();
00025 
00027   virtual StkFloat lastOut() const { return lastOutput_; };
00028 
00030   virtual StkFloat tick( void ) = 0;
00031 
00033   virtual StkFloat *tick( StkFloat *vector, unsigned int vectorSize );
00034 
00036 
00042   virtual StkFrames& tick( StkFrames& frames, unsigned int channel = 1 );
00043 
00044  protected:
00045 
00046   StkFloat lastOutput_;
00047 
00048 };
00049 
00050 #endif
00051 

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