36 virtual void setPosition(
float x = 0.,
float y = 0.,
float z = 0.);
37 virtual void setPosition(
double x = 0.,
double y = 0.,
double z = 0.);
40 virtual void setPosition(
char s,
float azi = 0,
float ele = 0,
float dist = 1.0) ;
41 virtual void setPosition(
char s,
double azi = 0,
double ele = 0,
double dist = 1.0) ;
44 #ifdef DIRECTIONAL_SOURCES
46 void setOrientation(
float horizontalAngle,
float verticalAngle);
48 void setDirectivity(
float innerConeAngle,
float outerConeAngle);
74 #ifdef DIRECTIONAL_SOURCES
77 float mHorizontalOrientation;
78 float mVerticalOrientation;
float elevation()
Returns the horizontal angle.
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
void setElevation(double tele)
CPoint * mPosition
source position
void setAzimuth(double taz)
void setAzimuth(float val)
virtual void nextBuffer(Buffer &outputBuffer, unsigned outBufNum)
really compute the next buffer given an offset base channel; this is called by nextBuffer, possibly multiple times
float distance()
Returns the angle of elevation.
Scalable – mix-in class with scale and offset control inputs (may be constants or generators)...
CPoint * position(unsigned channelNum=0)
Returns the distance from the center.
Temp Spatial Sound Source.
virtual bool positionChanged()
Returns whether the sound source position changed since last block call.
float azimuth()
Sets the distance from the center.
void setElevation(float val)
Sets the horizontal angle.
SpatialSource()
constructors
Buffer – the multi-channel sample buffer class (passed around between generators and IO guys)...
virtual void setPosition(CPoint pos)
Set the sound source position in cartesian coordinates.
void setMagnitude(double tmag)
bool mPositionChanged
true if this source's position has changed recently
void dump()
pretty-print the receiver
void setDistance(float val)
Sets the angle of elevation.
Base class of CSL exceptions (written upper-case). Has a string message.