18 #define thisTTClass TTCount
19 #define thisTTClassName "count"
20 #define thisTTClassTags "dspGeneratorLib, audio, generator"
53 for (channel=0; channel<numchannels; channel++) {
54 vs = out.getVectorSizeAsInt();
56 thisVectorCount =
count;
58 *outSample++ = thisVectorCount;
59 thisVectorCount += 1.;
63 count = thisVectorCount;
GeneratorLib: Count the number of processed samples, starting from zero.
std::uint16_t TTUInt16
16 bit unsigned integer
TTErr processAudio(TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
Process method.
#define setProcessMethod(methodName)
A convenience macro to be used by subclasses for setting the process method.
TTErr reset()
Start counting from zero again.
TTFloat64 count
Sample count.
double TTFloat64
64 bit floating point number
The TTAudioSignal class represents N vectors of audio samples for M channels.
TTSampleValue ** mSampleVectors
An array of pointers to the first sample in each vector. Declared Public for fast access...
TTUInt16 TTChannelCount
Data type used when counting the number of channels in multi-channel audio signals and processes...
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...
#define addMessage(name)
A convenience macro to be used by subclasses for registering messages.
TTFloat64 TTSampleValue
A value representing a single audio sample.