
Home Information Classes Download Usage Mail List Requirements Links Tutorial
#include <Effect.h>
Inheritance diagram for Effect:

This class provides common functionality for STK effects subclasses.
by Perry R. Cook and Gary P. Scavone, 1995 - 2004.
Definition at line 17 of file Effect.h.
Public Member Functions | |
| Effect () | |
| Class constructor. | |
| virtual | ~Effect () |
| Class destructor. | |
| virtual void | clear ()=0 |
| Reset and clear all internal state. | |
| void | setEffectMix (StkFloat mix) |
| Set the mixture of input and "effected" levels in the output (0.0 = input only, 1.0 = reverb only). | |
| StkFloat | lastOut () const |
| Return the last output value. | |
| StkFloat | lastOutLeft () const |
| Return the last left output value. | |
| StkFloat | lastOutRight () const |
| Return the last right output value. | |
| virtual StkFloat | tick (StkFloat input)=0 |
| Abstract tick function ... must be implemented in subclasses. | |
| virtual StkFloat * | tick (StkFloat *vector, unsigned int vectorSize) |
| Take vectorSize inputs, compute the same number of outputs and return them in vector. | |
| virtual StkFrames & | tick (StkFrames &frames, unsigned int channel=1) |
| Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs. | |
|
||||||||||||
|
Take a channel of the StkFrames object as inputs to the effect and replace with corresponding outputs.
The Reimplemented in Chorus, Echo, JCRev, NRev, PitShift, and PRCRev. |
| The Synthesis ToolKit in C++ (STK) |
| ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |