Nsound
0.9.4
|
A class for filtering audio in the frequecy domain. More...
#include <Nsound/FilterCombLowPassFeedback.h>
Protected Attributes | |
FilterDelay * | delay_ |
float64 | feedback_gain_ |
float64 | damp1_ |
float64 | damp2_ |
float64 | y_history_ |
float64 | sample_rate_ |
float64 | two_pi_over_sample_rate_ |
float64 | sample_time_ |
uint32 | kernel_size_ |
bool | is_realtime_ |
A class for filtering audio in the frequecy domain.
Definition at line 48 of file FilterCombLowPassFeedback.h.
FilterCombLowPassFeedback::FilterCombLowPassFeedback | ( | const float64 & | sample_rate, |
const float64 & | delay_time_seconds, | ||
const float64 & | feedback_gain, | ||
const float64 & | low_pass_frequency_Hz | ||
) |
Definition at line 48 of file FilterCombLowPassFeedback.cc.
References damp1_, damp2_, delay_, feedback_gain_, reset(), and Nsound::Filter::sample_rate_.
FilterCombLowPassFeedback::FilterCombLowPassFeedback | ( | const FilterCombLowPassFeedback & | copy | ) |
Definition at line 87 of file FilterCombLowPassFeedback.cc.
|
virtual |
Definition at line 101 of file FilterCombLowPassFeedback.cc.
References delay_.
AudioStream FilterCombLowPassFeedback::filter | ( | const AudioStream & | x | ) |
Definition at line 108 of file FilterCombLowPassFeedback.cc.
References Nsound::Filter::filter(), and reset().
Referenced by filter(), Nsound::ReverberationRoom::filter(), and FilterCombLowPassFeedback_UnitTest().
AudioStream FilterCombLowPassFeedback::filter | ( | const AudioStream & | x, |
const Buffer & | frequencies | ||
) |
Definition at line 116 of file FilterCombLowPassFeedback.cc.
References Nsound::Filter::filter(), and reset().
Definition at line 124 of file FilterCombLowPassFeedback.cc.
References Nsound::Filter::filter(), and reset().
Definition at line 132 of file FilterCombLowPassFeedback.cc.
References Nsound::Filter::filter(), and reset().
Implements Nsound::Filter.
Definition at line 140 of file FilterCombLowPassFeedback.cc.
References damp1_, damp2_, delay_, feedback_gain_, Nsound::FilterDelay::filter(), and y_history_.
Implements Nsound::Filter.
Definition at line 151 of file FilterCombLowPassFeedback.cc.
References damp1_, damp2_, filter(), and Nsound::Filter::sample_rate_.
FilterCombLowPassFeedback & FilterCombLowPassFeedback::operator= | ( | const FilterCombLowPassFeedback & | rhs | ) |
Definition at line 168 of file FilterCombLowPassFeedback.cc.
References damp1_, damp2_, delay_, feedback_gain_, and y_history_.
Definition at line 181 of file FilterCombLowPassFeedback.cc.
References Nsound::Plotter::axvline(), damp1_, Nsound::Filter::plot(), Nsound::Filter::sample_rate_, Nsound::Plotter::subplot(), and Nsound::Plotter::title().
|
virtual |
Implements Nsound::Filter.
Definition at line 214 of file FilterCombLowPassFeedback.cc.
References delay_, Nsound::FilterDelay::reset(), and y_history_.
Referenced by filter(), FilterCombLowPassFeedback(), and Nsound::ReverberationRoom::reset().
|
inlineinherited |
|
inherited |
Definition at line 76 of file Filter.cc.
References Nsound::Filter::filter(), Nsound::AudioStream::getNChannels(), Nsound::AudioStream::getSampleRate(), Nsound::Filter::is_realtime_, M_THROW, and Nsound::Filter::reset().
Definition at line 140 of file Filter.cc.
References Nsound::Buffer::begin(), Nsound::Buffer::end(), Nsound::Filter::filter(), Nsound::Buffer::getLength(), Nsound::Filter::is_realtime_, and Nsound::Filter::reset().
Definition at line 185 of file Filter.cc.
References Nsound::FFTransform::roundUp2(), and Nsound::Filter::sample_rate_.
Referenced by main(), Nsound::Filter::plot(), and Nsound::FilterIIR::savePlot().
Definition at line 210 of file Filter.cc.
References Nsound::FFTransform::fft(), Nsound::Filter::getImpulseResponse(), and Nsound::Filter::sample_rate_.
Referenced by Nsound::FilterBandPassIIR::FilterBandPassIIR(), FilterLeastSquaresFIR_UnitTest(), Nsound::FilterIIR::getRMS(), main(), Nsound::Filter::plot(), and Nsound::FilterIIR::savePlot().
Definition at line 225 of file Filter.cc.
References Nsound::Filter::filter(), Nsound::Filter::is_realtime_, and Nsound::Filter::reset().
Referenced by Nsound::Filter::getFrequencyResponse(), Nsound::FilterHighPassFIR::getImpulseResponse(), Nsound::FilterLowPassFIR::getImpulseResponse(), Nsound::FilterLeastSquaresFIR::getImpulseResponse(), Nsound::FilterIIR::getImpulseResponse(), and Nsound::Filter::getPhaseResponse().
|
inlinevirtualinherited |
Reimplemented in Nsound::FilterIIR, and Nsound::FilterTone.
Definition at line 96 of file Filter.h.
References Nsound::Filter::kernel_size_.
Referenced by Nsound::FilterBandPassIIR::FilterBandPassIIR(), Nsound::FilterBandPassFIR::plot(), Nsound::FilterBandPassIIR::plot(), and Nsound::FilterBandRejectIIR::plot().
|
inherited |
Definition at line 245 of file Filter.cc.
References Nsound::FFTransform::fft(), Nsound::Filter::getImpulseResponse(), Nsound::Buffer::getLength(), Nsound::Filter::sample_rate_, and Nsound::Buffer::subbuffer().
Referenced by Nsound::Filter::plot().
|
inlineinherited |
|
inherited |
Definition at line 262 of file Filter.cc.
References Nsound::Plotter::figure(), Nsound::Buffer::getdB(), Nsound::Filter::getFrequencyAxis(), Nsound::Filter::getFrequencyResponse(), Nsound::Buffer::getMax(), Nsound::Filter::getPhaseResponse(), Nsound::Plotter::plot(), Nsound::Plotter::subplot(), Nsound::Plotter::xlabel(), Nsound::Plotter::ylabel(), and Nsound::Plotter::ylim().
Referenced by main(), Nsound::FilterLowPassMoogVcf::plot(), Nsound::FilterPhaser::plot(), Nsound::FilterTone::plot(), Nsound::FilterHighPassIIR::plot(), plot(), Nsound::FilterLowPassIIR::plot(), Nsound::FilterLowPassFIR::plot(), Nsound::FilterHighPassFIR::plot(), Nsound::FilterAllPass::plot(), Nsound::FilterBandPassVocoder::plot(), Nsound::FilterBandPassFIR::plot(), Nsound::FilterLeastSquaresFIR::plot(), Nsound::FilterFlanger::plot(), Nsound::FilterBandRejectFIR::plot(), Nsound::FilterBandRejectIIR::plot(), Nsound::FilterBandPassIIR::plot(), and Nsound::FilterParametricEqualizer::plot().
|
protected |
Definition at line 92 of file FilterCombLowPassFeedback.h.
Referenced by filter(), FilterCombLowPassFeedback(), operator=(), reset(), and ~FilterCombLowPassFeedback().
|
protected |
Definition at line 94 of file FilterCombLowPassFeedback.h.
Referenced by filter(), FilterCombLowPassFeedback(), and operator=().
|
protected |
Definition at line 96 of file FilterCombLowPassFeedback.h.
Referenced by filter(), FilterCombLowPassFeedback(), operator=(), and plot().
|
protected |
Definition at line 97 of file FilterCombLowPassFeedback.h.
Referenced by filter(), FilterCombLowPassFeedback(), and operator=().
|
protected |
Definition at line 99 of file FilterCombLowPassFeedback.h.
Referenced by filter(), operator=(), and reset().
|
protectedinherited |
Definition at line 113 of file Filter.h.
Referenced by Nsound::FilterPhaser::filter(), filter(), Nsound::FilterDelay::filter(), Nsound::FilterAllPass::FilterAllPass(), FilterCombLowPassFeedback(), Nsound::FilterDelay::FilterDelay(), Nsound::FilterFlanger::FilterFlanger(), Nsound::FilterPhaser::FilterPhaser(), Nsound::FilterSlinky::FilterSlinky(), Nsound::Filter::getFrequencyAxis(), Nsound::Filter::getFrequencyResponse(), Nsound::Filter::getPhaseResponse(), Nsound::Filter::getSampleRate(), Nsound::FilterStageIIR::makeIIRKernelHelper(), Nsound::FilterHighPassFIR::makeKernel(), Nsound::FilterStageIIR::makeKernel(), Nsound::FilterBandPassVocoder::makeKernel(), Nsound::FilterLeastSquaresFIR::makeKernel(), Nsound::FilterParametricEqualizer::makeKernel(), Nsound::FilterPhaser::operator=(), Nsound::FilterLeastSquaresFIR::operator=(), Nsound::FilterFlanger::operator=(), Nsound::FilterIIR::operator=(), Nsound::FilterLowPassMoogVcf::plot(), Nsound::FilterPhaser::plot(), Nsound::FilterTone::plot(), Nsound::FilterHighPassIIR::plot(), plot(), Nsound::FilterLowPassIIR::plot(), Nsound::FilterLowPassFIR::plot(), Nsound::FilterAllPass::plot(), Nsound::FilterHighPassFIR::plot(), Nsound::FilterBandPassFIR::plot(), Nsound::FilterLeastSquaresFIR::plot(), Nsound::FilterFlanger::plot(), Nsound::FilterBandRejectFIR::plot(), Nsound::FilterBandPassIIR::plot(), Nsound::FilterBandRejectIIR::plot(), Nsound::FilterParametricEqualizer::plot(), Nsound::FilterLowPassIIR::setCutoff(), and Nsound::FilterLeastSquaresFIR::setWindow().
|
protectedinherited |
Definition at line 114 of file Filter.h.
Referenced by Nsound::FilterTone::makeKernel(), Nsound::FilterLowPassFIR::makeKernel(), and Nsound::FilterParametricEqualizer::makeKernel().
|
protectedinherited |
Definition at line 115 of file Filter.h.
Referenced by Nsound::FilterLowPassMoogVcf::_make_filter().
|
protectedinherited |
Definition at line 116 of file Filter.h.
Referenced by Nsound::FilterLowPassFIR::filter(), Nsound::FilterLeastSquaresFIR::filter(), Nsound::FilterBandPassFIR::FilterBandPassFIR(), Nsound::FilterBandPassIIR::FilterBandPassIIR(), Nsound::FilterBandRejectIIR::FilterBandRejectIIR(), Nsound::FilterHighPassIIR::FilterHighPassIIR(), Nsound::FilterLeastSquaresFIR::FilterLeastSquaresFIR(), Nsound::FilterLowPassFIR::FilterLowPassFIR(), Nsound::FilterLowPassIIR::FilterLowPassIIR(), Nsound::FilterLeastSquaresFIR::getKernel(), Nsound::Filter::getKernelSize(), Nsound::FilterHighPassFIR::makeKernel(), Nsound::FilterLowPassFIR::makeKernel(), Nsound::FilterBandRejectFIR::makeKernel(), Nsound::FilterLeastSquaresFIR::makeKernel(), Nsound::FilterLeastSquaresFIR::operator=(), Nsound::FilterLowPassFIR::plot(), Nsound::FilterHighPassFIR::plot(), Nsound::FilterLeastSquaresFIR::plot(), Nsound::FilterBandRejectFIR::plot(), Nsound::FilterLowPassFIR::reset(), Nsound::FilterHighPassFIR::reset(), Nsound::FilterLeastSquaresFIR::reset(), Nsound::FilterLeastSquaresFIR::setKernel(), Nsound::FilterLeastSquaresFIR::setWindow(), and Nsound::FilterHighPassFIR::spectraReversal_().
|
protectedinherited |
Definition at line 118 of file Filter.h.
Referenced by Nsound::Filter::filter(), Nsound::FilterBandRejectIIR::filter(), Nsound::FilterBandRejectFIR::filter(), Nsound::Filter::getImpulseResponse(), and Nsound::Filter::setRealtime().