19 #define thisTTClass TTAudioGraphGenerator
20 #define thisTTClassName "audio.generator"
21 #define thisTTClassTags "audioGraphLibrary, audio, graph, generator"
33 setAttributeValue(kTTSym_vectorSize, 64);
34 setAttributeValue(
TT(
"maxNumChannels"), 1);
39 TTAudioGraphGenerator::~TTAudioGraphGenerator()
47 mVectorSize = newVectorSize;
TTErr sendMessage(const TTSymbol name)
TODO: Document this function.
TTErr TTObjectBaseRelease(TTObjectBasePtr *anObject)
DEPRECATED.
Generates the AudioGraph structure.
TTChannelCount mMaxNumChannels
This is the maximum number of channels that can be guaranteed to work.
TTErr processAudio(TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
A standard audio processing method as used by Jamoma DSP objects.
TTErr updateSampleRate(const TTValue &oldSampleRate, TTValue &)
Update the sample rate.
TTErr updateMaxNumChannels(const TTValue &oldMaxNumChannels, TTValue &)
Update the maximum number of channels to process.
#define setProcessMethod(methodName)
A convenience macro to be used by subclasses for setting the process method.
TTErr setAttributeValue(const TTSymbol name, TTValue &value)
Set an attribute value for an object.
16-bit unsigned integer, range is 0 through 65,535.
#define TT
This macro is defined as a shortcut for doing a lookup in the symbol table.
TTErr TTObjectBaseInstantiate(const TTSymbol className, TTObjectBasePtr *returnedObjectPtr, const TTValue arguments)
DEPRECATED.
The TTAudioSignal class represents N vectors of audio samples for M channels.
A simple container for an array of TTAudioSignal pointers.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
TTErr setVectorSize(const TTValue &newVectorSize)
Set the vector size for audio processing.
#define addAttributeWithSetter(name, type)
A convenience macro to be used by subclasses for registering attributes with a custom setter...
static TTErr copy(const TTAudioSignal &source, TTAudioSignal &dest, TTChannelCount channelOffset=0)
Copy the audio from one signal into another.
TTAudioSignalPtr mBuffer
Storage for the audioSignal that we provide.
[doxygenAppendixC_copyExample]
#define addUpdates(updateName)
An 'update' is a message sent to a subclass instance from its parent class.