Skip to content

πŸŽ› πŸ”Š A Python library for audio.

Update pedalboard/plugins/NotchFilter.h

Paul Mayer8a24fdafcd9b
diff --git a/pedalboard/plugins/NotchFilter.h b/pedalboard/plugins/NotchFilter.h
index 6c6eb24..83dd894 100644
--- a/pedalboard/plugins/NotchFilter.h
+++ b/pedalboard/plugins/NotchFilter.h
@@ -54,7 +54,7 @@ inline void init_notch(py::module &m) {
return plugin;
}),
py::arg("cutoff_frequency_hz") = 50,
- py::arg("Q") = 0.707)
+ py::arg("q") = (juce::MathConstants<double>::sqrt2 / 2.0))
.def("__repr__",
[](const NotchFilter<float> &plugin) {
std::ostringstream ss;