15 #define MAX_NUM_VBAP_SOURCES 8
43 #define deg2rad(x) (((double)x ) * CSL_TWOPI) / 360.0
52 class SpeakerSetLayout;
71 void nextBuffer(
Buffer &outputBuffer,
unsigned outBufNum)
throw (
CException);
79 virtual void *cache();
80 virtual void speakerLayoutChanged();
100 SurroundPanner(
unsigned numSpeakers = 5,
bool useSubwoofer =
true);
172 void findSpeakerPairs() throw(CException);
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
CSLMatrix * invL
pre-computed inverse matrix for this triplet
SpeakerLayout * speakerLayout()
Returns the Speaker Layout used to find the triplets.
Base class for all panners. Handles source management and holds a speaker layout. ...
matrix< double > CSLMatrix
SpeakerSetLayout * mSpeakerSetLayout
A reference to the layout that contains the speaker pairs or triplets.
unsigned * nodes
the index for each of the three speakers that represent the triplet
Vector Base Amplitude Panning.
Buffer – the multi-channel sample buffer class (passed around between generators and IO guys)...
SpeakerLayout * mSpeakerLayout
Groups two or three loudspeakers, and their inverse. Used for VBAP computations.
Generic Panner for most surround formats. It accepts any number of speakers around the horizontal pla...
Only uses the horizontally placed speakers (zero elevation)
Base class of CSL exceptions (written upper-case). Has a string message.