mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-25 14:50:09 +01:00
Bug 667 - High / Low pass filters show nonsense error at 1 Hz -- the math parts of Steve's patch.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
be greater than ~a Hz (half of the track sample rate)."
|
||||
frequency
|
||||
(truncate (/ *sound-srate* 2.0))))
|
||||
((<= frequency 1)
|
||||
((< frequency 1)
|
||||
(format nil
|
||||
"Cutoff frequency is set at ~a Hz~%but must be at least 1 Hz."
|
||||
frequency))
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
be greater than ~a Hz (half of the track sample rate)."
|
||||
frequency
|
||||
(truncate (/ *sound-srate* 2.0))))
|
||||
((<= frequency 1)
|
||||
((< frequency 1)
|
||||
(format nil
|
||||
"Cutoff frequency is set at ~a Hz~%but must be at least 1 Hz."
|
||||
frequency))
|
||||
|
||||
Reference in New Issue
Block a user