CSL  6.0
Instrument.h File Reference
#include "CSL_Includes.h"
#include "Accessor.h"

Go to the source code of this file.

Classes

class  csl::Instrument
 Instrument class (abstract) More...
 

Namespaces

 csl
 AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
 

Macros

#define set_duration_f   100
 Instrument.h – The CSL pluggable instrument class. See the copyright notice and acknowledgment of authors in the file COPYRIGHT. More...
 
#define set_amplitude_f   101
 
#define set_frequency_f   102
 
#define set_position_f   103
 
#define set_position_p   104
 
#define set_attack_f   105
 
#define set_decay_f   106
 
#define set_sustain_f   107
 
#define set_release_f   108
 
#define set_iattack_f   110
 
#define set_idecay_f   111
 
#define set_isustain_f   112
 
#define set_irelease_f   113
 
#define set_index_f   114
 
#define set_c_freq_f   115
 
#define set_m_freq_f   116
 
#define set_vib_depth_f   120
 
#define set_chiff_amt_f   121
 
#define set_chiff_time_f   122
 
#define set_rate_f   125
 
#define set_file_f   126
 
#define set_start_f   127
 
#define set_stop_f   128
 
#define set_partial_f   130
 
#define set_partials_f   131
 

Macro Definition Documentation

#define set_duration_f   100

Instrument.h – The CSL pluggable instrument class. See the copyright notice and acknowledgment of authors in the file COPYRIGHT.

Instrument are reflective objects that hold onto a DSP graph (a UnitGen), a name, and a list of "plugs" (Accessors, mapped to MIDI or OSC messages) for external control. Instruments can be registered with MIDI voicers or in the OSC address space. Keys for setParameter selector (default parameters for all notes)

Definition at line 19 of file Instrument.h.

Referenced by csl::FMInstrument::FMInstrument(), csl::AdditiveInstrument::init(), csl::AdditiveInstrument::setParameter(), csl::FMInstrument::setParameter(), csl::FancyFMInstrument::setParameter(), testFancyFMInstrument(), and testFMInstrument().

#define set_frequency_f   102
#define set_position_p   104

Definition at line 23 of file Instrument.h.

#define set_iattack_f   110
#define set_idecay_f   111
#define set_isustain_f   112
#define set_irelease_f   113
#define set_index_f   114
#define set_m_freq_f   116
#define set_vib_depth_f   120

Definition at line 39 of file Instrument.h.

Referenced by csl::FancyFMInstrument::setParameter().

#define set_chiff_amt_f   121

Definition at line 40 of file Instrument.h.

Referenced by csl::FancyFMInstrument::setParameter().

#define set_chiff_time_f   122

Definition at line 41 of file Instrument.h.

#define set_rate_f   125
#define set_file_f   126
#define set_start_f   127
#define set_stop_f   128
#define set_partial_f   130
#define set_partials_f   131