CSL 5.2

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

- File List
- File Members

Classes | Namespaces | Macros | Typedefs
Oscillator.h File Reference
`#include "CSL_Core.h"`
`#include <stdarg.h>`

Go to the source code of this file.

## Classes
class | csl::Oscillator
| Oscillator – Abstract oscillator class; inherits from UnitGenerator, Phased, and Scalable and provides convenience constructors (freq, ampl, offset, phase) More...
class | csl::WavetableOscillator
| WavetableOscillator – Oscillator with a stored wave table that does table look-up. The default wave table is an 8192-sample sine. (perhaps accept a vector of freqs and a multichannel buffer?) More...
class | csl::CompOrCacheOscillator
| CompOrCacheOscillator – Abstract oscillator class for those who can compute of cache their wavetables. More...
class | csl::Sine
| Sine – oscillator class (this computes the sine fcn on the fly) More...
class | csl::FSine
| FSine – (uses a ringing filter for the sine calc) More...
class | csl::Sawtooth
| Sawtooth oscillator class (non-band-limited) More...
class | csl::Square
| Square oscillator class (non-band-limited) More...
class | csl::Impulse
| Impulse – oscillator class (this create a single impulse delayed by 'delay' samples) More...
struct | csl::Partial
| Struct for partial overtones. More...
class | csl::SumOfSines

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

## Macros
#define | DEFAULT_WAVETABLE_SIZE CSL_mMaxBufferFrames
#define | kTruncate 1
| Enumeration for interpolation policies.
#define | kLinear 2
#define | kCubic 3
#define | kAllPass 4
#define | kFrequency 1
| Enum for SumOfSines description formats.
#define | kFreqAmp 2
#define | kFreqAmpPhase 3

## Typedefs
typedef int | csl::InterpolationPolicy
typedef int | csl::PartialDescriptionMode

## Macro Definition Documentation

#define DEFAULT_WAVETABLE_SIZE CSL_mMaxBufferFrames

Definition at line 22 of file Oscillator.h.

Referenced by csl::WavetableOscillator::WavetableOscillator().

#define kTruncate 1

Enumeration for interpolation policies.

Definition at line 53 of file Oscillator.h.

#define kLinear 2

Definition at line 54 of file Oscillator.h.

Referenced by testWavetableInterpolation().

#define kCubic 3

Definition at line 55 of file Oscillator.h.

#define kAllPass 4

Definition at line 56 of file Oscillator.h.

#define kFrequency 1

Enum for SumOfSines description formats.

Definition at line 181 of file Oscillator.h.

Referenced by csl::SumOfSines::SumOfSines(), testComplexEnvelope(), testRandFreqEnv(), testSumOfSinesCached(), and testSumOfSinesSteps().

#define kFreqAmp 2

Definition at line 182 of file Oscillator.h.

Referenced by csl::SumOfSines::SumOfSines().

#define kFreqAmpPhase 3

Definition at line 183 of file Oscillator.h.

Referenced by csl::SumOfSines::SumOfSines(), and testSumOfSinesNonCached().