|
Nsound
0.9.4
|
#include <Nsound/AudioStream.h>#include <Nsound/Buffer.h>#include <Nsound/FilterLeastSquaresFIR.h>#include <Nsound/Plotter.h>#include <Nsound/Sine.h>#include <Nsound/Wavefile.h>#include "UnitTest.h"#include <cmath>#include <stdlib.h>#include <iostream>
Go to the source code of this file.
Macros | |
| #define | THIS_FILE "FilterLeastSquaresFIR_UnitTest.cc" |
| #define | GAMMA 1.5e-14 |
Functions | |
| void | FilterLeastSquaresFIR_UnitTest () |
| #define THIS_FILE "FilterLeastSquaresFIR_UnitTest.cc" |
Definition at line 50 of file FilterLeastSquaresFIR_UnitTest.cc.
Referenced by FilterLeastSquaresFIR_UnitTest().
| #define GAMMA 1.5e-14 |
Definition at line 52 of file FilterLeastSquaresFIR_UnitTest.cc.
Referenced by FilterLeastSquaresFIR_UnitTest().
| void FilterLeastSquaresFIR_UnitTest | ( | ) |
Definition at line 54 of file FilterLeastSquaresFIR_UnitTest.cc.
References Nsound::Buffer::abs(), Nsound::FilterLeastSquaresFIR::filter(), GAMMA, Nsound::Buffer::getAbs(), Nsound::Buffer::getdB(), Nsound::Filter::getFrequencyResponse(), Nsound::Buffer::getMax(), Nsound::FilterLeastSquaresFIR::makeKernel(), Nsound::Buffer::plot(), Nsound::RECTANGULAR, Nsound::Wavefile::setDefaultSampleSize(), Nsound::Wavefile::setIEEEFloat(), Nsound::FilterLeastSquaresFIR::setWindow(), Nsound::Plotter::show(), sr, SUCCESS, TEST_ERROR_HEADER, TEST_HEADER, and THIS_FILE.
Referenced by main().
1.8.6