20 #define thisTTClass Linear3D
21 #define thisTTClassName "linear.3D"
22 #define thisTTClassTags "audio, trajectory"
43 if (numOutputChannels != 3) {
46 out.setNumChannels(v);
52 TTUInt16 vs = in0.getVectorSizeAsInt();
59 for (
int i=0; i<vs; i++) {
60 outSampleX[i] = inSampleX[i]-1.0;
61 outSampleY[i] = mA * outSampleX[i];
62 outSampleZ[i] = mB * outSampleX[i];
std::uint16_t TTUInt16
16 bit unsigned integer
#define addAttribute(name, type)
A convenience macro to be used by subclasses for registering attributes with a custom getter...
TTErr processAudio(TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
A standard audio processing method as used by Jamoma DSP objects.
#define setProcessMethod(methodName)
A convenience macro to be used by subclasses for setting the process method.
TTErr setMaxNumChannels(const TTValue &newMaxNumChannels)
Attribute accessor.
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.
Linear Function Unit in 3D for Jamoma DSP.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
[doxygenAppendixC_copyExample]