
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
1 #ifndef STK_GENERATOR_H
2 #define STK_GENERATOR_H
STK abstract unit generator parent class.
Definition: Generator.h:21
void resize(size_t nFrames, unsigned int nChannels=1)
Resize self to represent the specified number of channels and frames.
An STK class to handle vectorized audio data.
Definition: Stk.h:276
virtual StkFrames & tick(StkFrames &frames, unsigned int channel=0)=0
Fill the StkFrames object with computed sample frames, starting at the specified channel.
unsigned int channels(void) const
Return the number of channels represented by the data.
Definition: Stk.h:404
Generator(void)
Class constructor.
Definition: Generator.h:25
unsigned int channelsOut(void) const
Return the number of output channels for the class.
Definition: Generator.h:28
The STK namespace.
Definition: ADSR.h:6
const StkFrames & lastFrame(void) const
Return an StkFrames reference to the last output sample frame.
Definition: Generator.h:31
STK base class.
Definition: Stk.h:133