20 #define thisTTClass TTAllpass2b
21 #define thisTTClassName "allpass.2b"
22 #define thisTTClassTags "dspFilterLib, audio, processor, filter, allpass"
24 #ifdef TT_PLATFORM_WIN
40 setAttributeValue(kTTSym_maxNumChannels, initialMaxNumChannels);
45 TTAllpass2b::~TTAllpass2b()
66 TTErr TTAllpass2b::clear()
85 y = w1 + w2 +
mX4[channel];
89 mX4[channel] =
mX3[channel];
90 mY4[channel] =
mY3[channel];
91 mX3[channel] =
mX2[channel];
92 mY3[channel] =
mY2[channel];
93 mX2[channel] =
mX1[channel];
94 mY2[channel] =
mY1[channel];
103 TT_WRAP_CALCULATE_METHOD(calculateValue);
TTSampleVector mY3
previous output sample (n-3) for each channel
TTSampleVector mY1
previous output sample (n-1) for each channel
TTAllpass2b is a second-order allpass filter.
#define addAttribute(name, type)
A convenience macro to be used by subclasses for registering attributes with a custom getter...
TTChannelCount mMaxNumChannels
This is the maximum number of channels that can be guaranteed to work.
#define setProcessMethod(methodName)
A convenience macro to be used by subclasses for setting the process method.
double TTFloat64
64 bit floating point number
TTSampleVector mX1
previous input sample (n-1) for each channel
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.
TTSampleVector mX2
previous input sample (n-2) for each channel
long TTPtrSizedInt
An integer that is the same size as a pointer.
TTFloat64 mC1
first coefficient
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.
TTSampleVector mY2
previous output sample (n-2) for each channel
TTSampleVector mX3
previous input sample (n-3) for each channel
TTSampleVector mX4
previous input sample (n-4) for each channel
TTFloat64 mC2
second coefficient
TTSampleVector mY4
previous output sample (n-4) for each channel
[doxygenAppendixC_copyExample]
#define addUpdates(updateName)
An 'update' is a message sent to a subclass instance from its parent class.