17 int main (
int argc,
const char * argv[]) {
20 AR env(0.25, 0.05, 0.2);
29 PAIO *gIO =
new PAIO(44100, 1024, -1, -1, 0, 5);
31 logMsg(
"CSL playing VBAP...");
36 for (
float i = 0; i < 40; i++) {
void logMsg(const char *format,...)
These are the public logging messages.
bool sleepMsec(float dur)
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
virtual void trigger()
reset internal time to restart envelope
void start()
start the callbacks
void stop()
stop the callbacks
Temp Spatial Sound Source.
int main(int argc, const char *argv[])
virtual void addSource(SpatialSource &s)
number of active inputs.
Sine – oscillator class (this computes the sine fcn on the fly)
Vector Base Amplitude Panning.
void setRoot(UnitGenerator &root)
set/clear my graph root generator
virtual void setPosition(CPoint pos)
Set the sound source position in cartesian coordinates.
AR = 3-segment attack/release envelope class.
void setScale(UnitGenerator &scale)
set the receiver's scale member to a UGen or a float