18 #define thisTTClass Rose3D
19 #define thisTTClassName "rose.3D"
20 #define thisTTClassTags "audio, trajectory"
31 setAttributeValue(
TT(
"a"), 0.0);
32 setAttributeValue(
TT(
"b"), 0.5);
33 setAttributeValue(
TT(
"c"), 0.2);
34 setAttributeValue(
TT(
"deltaX"),
kTTPi/2);
35 setAttributeValue(
TT(
"deltaY"), 0.0);
36 setAttributeValue(
TT(
"deltaZ"), 0.0);
97 if (numOutputChannels != 3) {
100 out.setNumChannels(v);
107 TTUInt16 vs = in0.getVectorSizeAsInt();
116 for (
int i=0; i<vs; i++) {
117 outSampleX[i] = cos(((inSampleX[i]-1.0 + mDeltaX) * mA) *
kTTTwoPi);
118 outSampleY[i] = cos( (inSampleY[i]-1.0) * mB *
kTTTwoPi);
119 outSampleZ[i] = cos( (inSampleZ[i]-1.0) * mC *
kTTTwoPi);
std::uint16_t TTUInt16
16 bit unsigned integer
TTFOUNDATION_EXPORT const TTFloat64 kTTTwoPi
Pre-calculated value of pi * 2.
#define setProcessMethod(methodName)
A convenience macro to be used by subclasses for setting the process method.
#define TT
This macro is defined as a shortcut for doing a lookup in the symbol table.
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.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
#define addAttributeWithSetter(name, type)
A convenience macro to be used by subclasses for registering attributes with a custom setter...
TTFOUNDATION_EXPORT const TTFloat64 kTTPi
[doxygenAppendixC_constExample]
Rose Function Unit in 3D for Jamoma DSP.
[doxygenAppendixC_copyExample]