Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
STK abstract unit generator parent class. More...
Public Member Functions
|Class constructor. |
|unsigned int||channelsOut (void) const|
|Return the number of output channels for the class. |
|const StkFrames &||lastFrame (void) const|
|Return an StkFrames reference to the last output sample frame. |
|virtual StkFrames &||tick (StkFrames &frames, unsigned int channel=0)=0|
|Fill the StkFrames object with computed sample frames, starting at the specified channel. |
STK abstract unit generator parent class.
This class provides limited common functionality for STK unit generator sample-source subclasses. It is general enough to support both monophonic and polyphonic output classes.
by Perry R. Cook and Gary P. Scavone, 1995-2012.
|virtual StkFrames& stk::Generator::tick||(||StkFrames &||frames,|
|unsigned int|| channel = |
Fill the StkFrames object with computed sample frames, starting at the specified channel.
channel argument plus the number of output channels must be less than the number of channels in the StkFrames argument (the first channel is specified by 0). However, range checking is only performed if _STK_DEBUG_ is defined during compilation, in which case an out-of-range value will trigger an StkError exception.
|The Synthesis ToolKit in C++ (STK)|
|©1995-2012 Perry R. Cook and Gary P. Scavone. All Rights Reserved.|