CVariable is the the abstract external variable (plug or port) class. This is the abstract class for static and dynamic variables; it's a sample stream. Clients of Variable (oscillators, dsp units, etc) first ask whether its values are fixed over the length of the buffer or not. If the value is fixed, the client calls next_sample() to get the next sample and use it the DSP loop. If the value is not fixed, the client calls next_buffer() to get the next buffer of values.
More...
#include <Variable.h>
CVariable is the the abstract external variable (plug or port) class. This is the abstract class for static and dynamic variables; it's a sample stream. Clients of Variable (oscillators, dsp units, etc) first ask whether its values are fixed over the length of the buffer or not. If the value is fixed, the client calls next_sample() to get the next sample and use it the DSP loop. If the value is not fixed, the client calls next_buffer() to get the next buffer of values.
Definition at line 29 of file Variable.h.
csl::CVariable::CVariable |
( |
| ) |
|
|
inline |
csl::CVariable::CVariable |
( |
float |
tvalue | ) |
|
|
inline |
float csl::CVariable::value |
( |
| ) |
|
|
inline |
void csl::CVariable::setValue |
( |
float |
x | ) |
|
|
inline |
void csl::CVariable::setValue |
( |
int |
x | ) |
|
|
inline |
void csl::CVariable::setValue |
( |
double |
x | ) |
|
|
inline |
float csl::CVariable::mValue |
|
protected |
the value I represent
Definition at line 32 of file Variable.h.
The documentation for this class was generated from the following file: