27 for (
unsigned i = 0; i < en->size(); i++)
30 for (
unsigned i = 0; i < av.size(); i++)
33 for (UGenMap::iterator it = um->begin(); it != um->end(); it++)
34 mUGens[it->first] = it->second;
42 return (mGraph->nextBuffer(outputBuffer));
48 UGenMap::iterator pos =
mUGens.find(nam);
virtual void nextBuffer(Buffer &outputBuffer)
set a named parameter
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
UnitGenerator * mGraph
Caches.
AccessorVector mAccessors
the accessor vector
AccessorVector getAccessors()
Accessor management.
UGenMap * genMap()
my UGen graph
UGenVector * envelopes()
the map of ugens in the graph by name
std::map< std::string, UnitGenerator * > UGenMap
UGenMap: a named map of unit generators (used for GUIs)
virtual bool isActive()
query whether I'm currently active (Envelopes can go inactive)
Instrument class (abstract)
std::vector< UnitGenerator * > UGenVector
vector< Accessor * > AccessorVector
Typedef for AccessorVector object.
virtual bool isActive()
Envelope query and re-trigger.
UnitGenerator * genNamed(string name)
answer my name answer the number of channels
Buffer – the multi-channel sample buffer class (passed around between generators and IO guys)...
Instrument()
Constructors.
UGenVector mEnvelopes
the vector of envelopes to query or trigger
Envelope: a collection of LineSegments; may have an input (scale) and act like a processor, or have no input and act like a control UGen. I inherit Scalable setScale, setOffset for inputs.
Base class of CSL exceptions (written upper-case). Has a string message.
UGenMap mUGens
the map of ugens in the graph by name