Minor syntax update

The "real" keyword in Nyquist controls is deprecated. Use "float" instead.
This commit is contained in:
Steve Daulton 2020-03-13 19:23:22 +00:00 committed by GitHub
parent 3fcde5d00f
commit 7fd592f118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,9 @@ $copyright (_ "Released under terms of the GNU General Public License version 2"
;; For information about writing and modifying Nyquist plug-ins:
;; https://wiki.audacityteam.org/wiki/Nyquist_Plug-ins_Reference
$control threshold (_ "Treat audio below this level as silence (dB)") real "" -30 -100 0
$control min-silence (_ "Minimum duration of silence (seconds)") real "" 1.0 0.1 5.0
$control label-position (_ "Label placement (seconds before silence ends)") real "" 0.3 0.0 1.0
$control threshold (_ "Treat audio below this level as silence (dB)") float "" -30 -100 0
$control min-silence (_ "Minimum duration of silence (seconds)") float "" 1.0 0.1 5.0
$control label-position (_ "Label placement (seconds before silence ends)") float "" 0.3 0.0 1.0
(setf threshold (db-to-linear threshold))
; Label is usually offset to earlier time.