mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-15 15:11:12 +02:00
Bug 2808 Nyquist GATE function limits floor level to -60 dB
This commit is contained in:
committed by
Paul Licameli
parent
6b82f43000
commit
d8010a7bc6
@@ -1501,10 +1501,10 @@ loop
|
||||
(format t "WARNING: ~A ~A function; setting falltime to 0.01.\n"
|
||||
"falltime must be greater than zero in" source)
|
||||
(setf falltime 0.01)))
|
||||
(cond ((< floor 0.001)
|
||||
(format t "WARNING: ~A ~A function; setting floor to 0.001.\n"
|
||||
(cond ((< floor 0.00001)
|
||||
(format t "WARNING: ~A ~A function; setting floor to 0.00001.\n"
|
||||
"floor must be greater than zero in" source)
|
||||
(setf floor 0.001)))
|
||||
(setf floor 0.00001)))
|
||||
(let (s) ;; s becomes sound after collapsing to one channel
|
||||
(cond ((arrayp sound) ;; use s-max over all channels so that
|
||||
(setf s (aref sound 0)) ;; ANY channel opens the gate
|
||||
|
Reference in New Issue
Block a user