CSL 5.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Macros | Typedefs
Variable.h File Reference
`#include "CSL_Core.h"`

Go to the source code of this file.

## Classes
class | csl::CVariable
| 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...
class | csl::StaticVariable
| StaticVariable – he static external variable (plug) class. This is a kind of variable that holds onto floating-point value that is fixed each control rate period (e.g., changes at most once per control rate). More...
class | csl::DynamicVariable
| The DynamicVariable class is a changing variable that can perform an operation (e.g., scaling) on another unit generator. More...

## Namespaces
namespace | csl
| AdditiveInstrument.h – Sum-of-sines synthesis instrument class.

## Macros
#define | kOpPlus 1
#define | kOpTimes 2
#define | kOpMinus 3
#define | kOpDivided 4
#define | kOpNegated 5

## Typedefs
typedef int | csl::VOperator

## Macro Definition Documentation

#define kOpPlus 1

Definition at line 79 of file Variable.h.

Referenced by csl::DynamicVariable::nextBuffer().

#define kOpTimes 2

Definition at line 80 of file Variable.h.

Referenced by csl::DynamicVariable::nextBuffer().

#define kOpMinus 3

Definition at line 81 of file Variable.h.

Referenced by csl::DynamicVariable::nextBuffer().

#define kOpDivided 4

Definition at line 82 of file Variable.h.

Referenced by csl::DynamicVariable::nextBuffer().

#define kOpNegated 5

Definition at line 83 of file Variable.h.

Referenced by csl::DynamicVariable::nextBuffer().