Jamoma API  0.6.0.a19
TTHalfband9 Class Reference

A 9-pole halfband lowpass/highpass filter built-up from allpass building blocks. More...

#include <TTHalfband9.h>

+ Inheritance diagram for TTHalfband9:
+ Collaboration diagram for TTHalfband9:

Protected Member Functions

virtual TTErr test (TTValue &returnedTestInfo)
 Unit Tests. More...
 

Protected Attributes

TTAudioObject mF0
 path0
 
TTAudioObject mF2
 path0
 
TTAudioObject mR0
 path0, resampling
 
TTAudioObject mR2
 path0, resampling
 
TTAudioObject mF1
 path1
 
TTAudioObject mF3
 path1
 
TTAudioObject mR1
 path1, resampling
 
TTAudioObject mR3
 path1, resampling
 
TTAudioObject mDelay
 path1
 
TTSampleVector mRSwitch
 resampling switch (so we know which path to calculate)
 
TTSampleVector mY0
 resampling path0 output (for each channel)
 
TTSampleVector mY1
 resampling path1 output (for each channel)
 
TTSymbol mMode
 Attribute: lowpass or highpass.
 

Detailed Description

A 9-pole halfband lowpass/highpass filter built-up from allpass building blocks.

Based on Multirate Signal Processing for Communication Systems, Chapter 10, Page 18.

Passband edge (i.e. Fc or -3db) at Fs/4

Definition at line 30 of file TTHalfband9.h.

Member Function Documentation

TTErr TTHalfband9::test ( TTValue returnedTestInfo)
protectedvirtual

Unit Tests.

Parameters
returnedTestInfoUsed to return test information
Returns
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 TTHalfband9.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: