8 #ifndef CSL_SPATIAL_AUDIO_H
9 #define CSL_SPATIAL_AUDIO_H
43 virtual void update(
void *arg);
Simple panning/filtering spatializer.
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
CSL Observer/Dependent/Monitor class – instances receive update() messages from "models" and handle ...
void addSource(SpatialSource &s)
Add a sound souce to the list of inputs to be processed.
void setPanningMode(PannerType panType)
number of active inputs.
static PannerType findPannerFromLayout(SpeakerLayout *layout=SpeakerLayout::defaultSpeakerLayout())
Vector Base Amplitude Panning.
Base class for all panners. Handles source management and holds a speaker layout. ...
Temp Spatial Sound Source.
void removeSource(SpatialSource &s)
Remove a Sound Source.
Spatializer(PannerType panMode=kAutomatic, SpeakerLayout *speakerLayout=SpeakerLayout::defaultSpeakerLayout())
SpeakerLayout * mSpeakerLayout
If null, it will use the default layout by calling SpeakerLayout::defaultSpeakerLayout();.
map< SpatialSource *, DistanceSimulator * > mInputsHashMap
a map between a source passed/key and a the corresponding distance simulator (used for removing sourc...
Buffer – the multi-channel sample buffer class (passed around between generators and IO guys)...
virtual void nextBuffer(Buffer &outputBuffer)
fill the buffer with data :-)
static SpeakerLayout * defaultSpeakerLayout()
Returns a pointer to the default layout. If no default exists, it creates one.
Container class that simplifies the spatial audio interface. This layer hides most of the inner-worki...
virtual void update(void *arg)
called when the speaker layout changes, so panners update precalculated data.
Base class of CSL exceptions (written upper-case). Has a string message.