#include <vector>
#include <map>
#include <string>
Go to the source code of this file.
Namespaces | |
| namespace | csl |
Classes | |
| class | csl::Model |
| Forward declaration. More... | |
| class | csl::Observer |
Defines | |
| #define | CSL_SCALE 1 |
| #define | CSL_OFFSET 2 |
| #define | CSL_INPUT 3 |
| #define | CSL_OPERAND 4 |
| #define | CSL_FREQUENCY 6 |
| #define | CSL_POSITION 7 |
| #define | CSL_mFrameRate 44100 |
| default sample rate (tested up to 96000) | |
| #define | CSL_mMaxBufferFrames 8192 |
| max block size (set large for zooming scopes) | |
| #define | CSL_mBlockSize 1024 |
| typical block size (can be as small as 128 in real usage) | |
| #define | CSL_mVerbosity 3 |
| very verbose | |
| #define | CSL_mLoggingPeriod 15 |
| log CPU usage every 15 sec | |
| #define | CSL_mOutPort 57123 |
| RFS output port. | |
| #define | csl_min(a, b) (((a) < (b)) ? (a) : (b)) |
| #define | csl_max(a, b) (((a) > (b)) ? (a) : (b)) |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | CSL_PI ((float) 3.1415926535897932) |
| #define | CSL_TWOPI ((float) 6.2831853071795865) |
| #define | CSL_PIHALF ((float) 1.570796326795) |
| #define | CSL_SQRT_TWO ((float) 1.414213562) |
| #define | CSL_SPEED_OF_SOUND 330.0 |
| #define | CSL_EXP_PER_DB 0.11512925464970228 |
| #define | CSL_SAMPS_PER_METER 133.63636363636364 |
| #define | CSL_DEGS_PER_RAD 57.295779513082321 |
| #define | CSL_NAME_LEN 64 |
Typedefs | |
| typedef float | csl::sample |
| < All of CSL takes place in the "csl" namespace short-hand for the base sample type (could be changed to int) | |
| typedef vector< sample * > | csl::SampleBufferVector |
| Multi-channel buffer data type -- vector of (sample *) this is the central signal buffer model of CSL. | |
| typedef vector< Point > | csl::PointVector |
| Forward declaration A vector of points. | |
| typedef void * | csl::VOIDFCNPTR (void *arg) |
| the generic void fcn pointer | |
| typedef unsigned | csl::CSL_MAP_KEY |
| Forward declaration to Port class (in CSL_Core.h) the type I use for map keys (could also be a string). | |
| typedef map< CSL_MAP_KEY, Port * > | csl::PortMap |
| PortMap: a map between a name/key and a port object (used for control and audio inputs). | |
| typedef vector< UnitGenerator * > | csl::UGenVector |
| UGenVector: a vector of unit generator pointers (used for outputs). | |
| typedef map< string, UnitGenerator * > | csl::UGenMap |
| UGenMap: a named map of unit generator pointers (used for GUIs). | |
| typedef unsigned long | csl::Timestamp |
| typedef signed long long | csl::INT64 |
| typedef unsigned long long | csl::UINT64 |
|
|
Hashmap keys for the default I/O ports (could be strings) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
default sample rate (tested up to 96000) Major System Defaults (used in CGestalt) |
|
|
max block size (set large for zooming scopes)
|
|
|
typical block size (can be as small as 128 in real usage)
|
|
|
very verbose
|
|
|
log CPU usage every 15 sec
|
|
|
RFS output port.
|
|
|
Min/max, Boolean macros |
|
|
|
|
|
|
|
|
|
|
|
Numerical constants (for convenience) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.5-20051010