mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-11 15:15:57 +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)."
|
be greater than ~a Hz (half of the track sample rate)."
|
||||||
frequency
|
frequency
|
||||||
(truncate (/ *sound-srate* 2.0))))
|
(truncate (/ *sound-srate* 2.0))))
|
||||||
((<= frequency 1)
|
((< frequency 1)
|
||||||
(format nil
|
(format nil
|
||||||
"Cutoff frequency is set at ~a Hz~%but must be at least 1 Hz."
|
"Cutoff frequency is set at ~a Hz~%but must be at least 1 Hz."
|
||||||
frequency))
|
frequency))
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
be greater than ~a Hz (half of the track sample rate)."
|
be greater than ~a Hz (half of the track sample rate)."
|
||||||
frequency
|
frequency
|
||||||
(truncate (/ *sound-srate* 2.0))))
|
(truncate (/ *sound-srate* 2.0))))
|
||||||
((<= frequency 1)
|
((< frequency 1)
|
||||||
(format nil
|
(format nil
|
||||||
"Cutoff frequency is set at ~a Hz~%but must be at least 1 Hz."
|
"Cutoff frequency is set at ~a Hz~%but must be at least 1 Hz."
|
||||||
frequency))
|
frequency))
|
||||||
|
|||||||
Reference in New Issue
Block a user