38 using namespace Nsound;
125 plot(
boolean show_fc,
boolean show_phase)
129 "High Pass IIR Frequency Response\n"
130 "order = %d, fc = %0.1f Hz, sr = %0.1f Hz",
FilterHighPassIIR(const float64 &sample_rate, uint32 n_poles, const float64 &frequency, const float64 &percent_ripple=0.0)
AudioStream filter(const AudioStream &x)
void plot(boolean show_fc=true, boolean show_phase=false)
void axvline(const float64 &x_pos=0.0, const std::string &kwargs="")
Draws a vertical line at x and spans ymin to ymax (ralitive).
A class for filtering audio in the frequecy domain.
void title(const std::string &title, const std::string &kwargs="")
Add a title to the plot at the top and centered.
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)
void makeKernel(const float64 &frequency)
A Buffer for storing audio samples.
AudioStream filter(const AudioStream &x)
void makeKernel(const float64 &frequency)