Used to divide the frequency domain into suitable intervals. More...
#include <spectrogram.hpp>
Public Member Functions | |
| Filterbank (double scale) | |
| virtual intpair | get_band (int i) const =0 |
| Returns start-finish indexes for a given filterband. | |
| virtual int | get_center (int i) const =0 |
| Returns the index of the filterband's center. | |
| virtual int | num_bands_est (double maxfreq) const =0 |
| Estimated total number of intervals. | |
| virtual | ~Filterbank () |
Static Public Member Functions | |
| static std::auto_ptr< Filterbank > | get_filterbank (AxisScale type, double scale, double base, double hzbandwidth, double overlap) |
Protected Attributes | |
| const double | scale_ |
| The proportion of frequency versus vector indices. | |
Used to divide the frequency domain into suitable intervals.
Each interval represents a horizontal band in a spectrogram.
Definition at line 170 of file spectrogram.hpp.
| Filterbank::Filterbank | ( | double | scale | ) |
Definition at line 596 of file spectrogram.cpp.
| Filterbank::~Filterbank | ( | ) | [virtual] |
Definition at line 601 of file spectrogram.cpp.
| virtual intpair Filterbank::get_band | ( | int | i | ) | const [pure virtual] |
Returns start-finish indexes for a given filterband.
Implemented in LinearFilterbank, and LogFilterbank.
| virtual int Filterbank::get_center | ( | int | i | ) | const [pure virtual] |
Returns the index of the filterband's center.
Implemented in LinearFilterbank, and LogFilterbank.
| std::auto_ptr< Filterbank > Filterbank::get_filterbank | ( | AxisScale | type, | |
| double | scale, | |||
| double | base, | |||
| double | hzbandwidth, | |||
| double | overlap | |||
| ) | [static] |
Definition at line 671 of file spectrogram.cpp.
| virtual int Filterbank::num_bands_est | ( | double | maxfreq | ) | const [pure virtual] |
Estimated total number of intervals.
Implemented in LinearFilterbank, and LogFilterbank.
const double Filterbank::scale_ [protected] |
The proportion of frequency versus vector indices.
Definition at line 186 of file spectrogram.hpp.
1.7.1