class DSP::CookbookBandstopFilter

Overview

Implement a "cookbook" bandstop (notch) filter using the BiquadFilter class, based on the well-known RBJ biquad filter.

Defined in:

dsp/filtering/iir/cookbook_bandstop_filter.cr

Instance Method Summary

Instance methods inherited from class DSP::BiquadFilter

compute_coefficients(omega) compute_coefficients, critical_freq : Float64 critical_freq, magnitude_response(freq) magnitude_response, magnitude_response_db(freq) magnitude_response_db, process_sample(sample : Float64) process_sample, process_samples(samples) process_samples, q : Float64 q, reset_state reset_state, sample_rate : Float64 sample_rate

Constructor methods inherited from class DSP::BiquadFilter

new(critical_freq : Float64, q : Float64, sample_rate : Float64) new

Class methods inherited from class DSP::BiquadFilter

omega(freq, sample_rate) omega

Instance Method Detail

def compute_coefficients(omega) #

[View source]