Function ctru_sys::ndspChnIirBiquadSetParamsNotchFilter
source · pub unsafe extern "C" fn ndspChnIirBiquadSetParamsNotchFilter(
id: c_int,
f0: f32,
Q: f32
) -> bool
Expand description
Sets the biquad to be a notch filter.
§Arguments
id
- ID of the channel (0..23).f0
- Notch frequency.Q
- “Quality factor”, typically should be sqrt(2)/2 (i.e. 0.7071).