We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8aa860 commit de55325Copy full SHA for de55325
audio_filters/butterworth_filter.py
@@ -26,7 +26,9 @@ def make_lowpass(
26
raise ValueError("Frequency must be a positive value.")
27
if frequency >= samplerate / 2:
28
# Nyquist frequency limit check
29
- raise ValueError(f"Frequency ({frequency} Hz) must be less than the Nyquist frequency ({samplerate / 2} Hz).")
+ raise ValueError(
30
+ f"Frequency ({frequency} Hz) must be less than the Nyquist frequency ({samplerate / 2} Hz)."
31
+ )
32
# --- Input Validation End ---
33
34
w0 = tau * frequency / samplerate
0 commit comments