33 #ifndef _NSOUND_FILTER_BAND_REJECT_FIR_H_
34 #define _NSOUND_FILTER_BAND_REJECT_FIR_H_
54 const float64 & frequency_Hz_low,
55 const float64 & frequency_Hz_high);
80 const Buffer & low_frequencies,
81 const Buffer & high_frequencies);
98 const Buffer & frequencies_Hz_low,
99 const Buffer & frequencies_Hz_high);
113 const float64 & frequency_Hz_low,
114 const float64 & frequency_Hz_high);
118 const float64 & frequency_Hz_low,
119 const float64 & frequency_Hz_high);
122 plot(
boolean show_fc =
true,
boolean show_phase =
false);
AudioStream filter(const AudioStream &x)
FilterBandRejectFIR(const FilterBandRejectFIR ©)
A class to store calculated kernels.
FilterBandRejectFIR & operator=(const FilterBandRejectFIR &rhs)
Kernel(const uint32 &f1, const uint32 &f2)
void makeKernel(const float64 &frequency_Hz_low, const float64 &frequency_Hz_high)
void plot(boolean show_fc=true, boolean show_phase=false)
float64 getFrequencyLow() const
KernelCache kernel_cache_
std::set< Kernel > KernelCache
float64 getFrequencyHigh() const
virtual ~FilterBandRejectFIR()
A Buffer for storing audio samples.
bool operator<(const Kernel &rhs) const
FilterBandRejectFIR(const float64 &sample_rate, uint32 kernel_size, const float64 &frequency_Hz_low, const float64 &frequency_Hz_high)