40 InOut(
IO * anIO,
unsigned inChans,
unsigned outChans, InOutFlags f =
kNoProc);
41 InOut(
IO * anIO,
unsigned inChans,
unsigned outChans, InOutFlags f, ...);
InOut class copies the IO port's input buffer to the output buffer, possibly with channel remap and s...
BufferCMap mMap
the mapped buffer pointers for the output channels
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
void setChanGains(float *values)
set gain array
Effect – mix-in for classes that have unit generators as inputs (like filters).
void setGain(unsigned index, float value)
set gain value at index
IO * mIO
The (Singleton) IO pointer (or NULL, to act as an effect)
BufferCMap is a Sample buffer with channel map and count.
unsigned mOutChans
out chans
virtual void nextBuffer(Buffer &outputBuffer)
get a buffer of Frames – this is the core CSL "pull" function; the given buffer can be written into...
void setChanMap(unsigned *chans)
set channel map
void setOutChan(unsigned chan)
set # in/out chans
float * mGains
amplitude scales
unsigned mInChans
in chans
IO – the abstract I/O scheduling class; subclasses interface to specific I/O APIs.
unsigned getOutChan(void)
get # in/out chans
Buffer – the multi-channel sample buffer class (passed around between generators and IO guys)...
InOut(IO *anIO, unsigned inChans, unsigned outChans, InOutFlags f=kNoProc)
Constructor with IO, number of channels in & out, and processing.
void setInChan(unsigned chan)
Base class of CSL exceptions (written upper-case). Has a string message.