Jamoma API
0.6.0.a19
|
A 1st-order up/down-sampling filter built-up from allpass building blocks. More...
#include <TTHalfband3.h>
Protected Member Functions | |
virtual TTErr | test (TTValue &returnedTestInfo) |
Unit Tests. More... | |
Protected Attributes | |
TTAudioObject | mF0 |
path0 (used by lowpass/highpass modes) | |
TTAudioObject | mDelay |
pure delay (used by lowpass/highpass modes) | |
TTAudioObject | mR0 |
path 0 (used by resampling modes) | |
TTSampleVector | mX1 |
previous input sample (for each channel) | |
TTSymbol | mMode |
Attribute: upsample or downsample. | |
A 1st-order up/down-sampling filter built-up from allpass building blocks.
Based on Multirate Signal Processing for Communication Systems, Chapter 10.
Definition at line 28 of file TTHalfband3.h.
Unit Tests.
returnedTestInfo | Used to return test information |
The following values are not necsessarily to be trusted. They were calculated from this filter unit itself at a time when the filter was assumed to work. As such, if this test fails in the future, it should be considered an indication that something has changed in the code or compiler that causes the calculated impulse response to differ from earlier results, but this test is not able to say anything meaningful about whether the old or new behaviour is to be trusted (or eventually none of them).
Reimplemented from TTAudioObjectBase.
Definition at line 20 of file TTHalfband3.test.cpp.
References TTAudioSignal::allocWithVectorSize(), TTAudioSignal::clear(), TTAudioSignal::mSampleVectors, TTAudioObjectBase::process(), TTObjectBaseInstantiate(), and TTObjectBaseRelease().