39 using namespace Nsound;
44 #define CERR_HEADER __FILE__ << ":" << __LINE__ << ": "
50 const float64 & delay_time_seconds,
52 const float64 & low_pass_frequency_Hz)
56 feedback_gain_(feedback_gain),
91 feedback_gain_(copy.feedback_gain_),
94 y_history_(copy.y_history_)
181 plot(
boolean show_fc,
boolean show_phase)
185 "Comb Low Pass Feedback Frequency Response\n"
186 "order = %d, fc = %0.1f Hz, sr = %0.1f Hz",
void axvline(const float64 &x_pos=0.0, const std::string &kwargs="")
Draws a vertical line at x and spans ymin to ymax (ralitive).
FilterCombLowPassFeedback(const float64 &sample_rate, const float64 &delay_time_seconds, const float64 &feedback_gain, const float64 &low_pass_frequency_Hz)
virtual ~FilterCombLowPassFeedback()
AudioStream filter(const AudioStream &x)
void title(const std::string &title, const std::string &kwargs="")
Add a title to the plot at the top and centered.
void plot(boolean show_fc=true, boolean show_phase=false)
AudioStream filter(const AudioStream &x)
Base class for IIR Filters, defines the interface.
FilterCombLowPassFeedback & operator=(const FilterCombLowPassFeedback &rhs)
Axes subplot(const uint32 n_rows, const uint32 n_cols, const uint32 n, const std::string &kwargs="", Axes *sharex=NULL, Axes *sharey=NULL)
Creates a figure in a subplot, subplot(A, B, C, **kwargs)
void plot(boolean show_phase=false)
AudioStream filter(const AudioStream &x)
A class for filtering audio in the frequecy domain.
A Buffer for storing audio samples.
A class for filtering audio in the frequecy domain.