25 Generator(
void ) { lastFrame_.resize( 1, 1, 0.0 ); };
28 unsigned int channelsOut(
void )
const {
return lastFrame_.channels(); };
virtual StkFrames & tick(StkFrames &frames, unsigned int channel=0)=0
Fill the StkFrames object with computed sample frames, starting at the specified channel.
const StkFrames & lastFrame(void) const
Return an StkFrames reference to the last output sample frame.
Definition Generator.h:31
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
An STK class to handle vectorized audio data.
Definition Stk.h:279
Stk(void)
Default constructor.
The STK namespace.
Definition ADSR.h:6