Jamoma API  0.6.0.a19
TTMirrorBandpass10 Class Reference

A 10th-order bandpass/notch filter built-up from allpass building blocks. More...

#include <TTMirrorBandpass10.h>

+ Inheritance diagram for TTMirrorBandpass10:
+ Collaboration diagram for TTMirrorBandpass10:

Protected Member Functions

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

Protected Attributes

TTAudioObject mF0
 filter0 (in the upper path)
TTAudioObject mF1
 filter1 (in the lower path, first block)
TTAudioObject mF2
 filter2 (in the lower path, second block)
TTFloat64 mFrequency
 attribute: in hertz
TTSymbol mMode
 attribute: lowpass or highpass
TTFloat64 mBandwidth
 attribute: in hertz
TTFloat64 mQ
 attribute: bandwidth expressed as Q
TTBoolean mBandwidthSetWithQ
 flag to tell us whether to adjust bandwidth when frequency changes

Detailed Description

A 10th-order bandpass/notch filter built-up from allpass building blocks.

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

Definition at line 28 of file TTMirrorBandpass10.h.

Member Function Documentation

TTErr TTMirrorBandpass10::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 TTMirrorBandpass10.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: