Jamoma API  0.6.0.a19
TTHalfband3 Class Reference

A 1st-order up/down-sampling filter built-up from allpass building blocks. More...

#include <TTHalfband3.h>

+ Inheritance diagram for TTHalfband3:
+ Collaboration diagram for TTHalfband3:

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.

Detailed Description

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.

Member Function Documentation

TTErr TTHalfband3::test ( TTValue returnedTestInfo)

Unit Tests.

returnedTestInfoUsed to return test information
TTErr error code if the method fails to execute, else kTTErrNone.

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().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: