1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-12 07:35:51 +01:00

Rewrite choice controls

This commit is contained in:
Paul Licameli
2018-03-01 17:47:13 -05:00
parent 4018e3b87b
commit 8709e9735a
15 changed files with 79 additions and 30 deletions

View File

@@ -17,12 +17,12 @@ $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 type (_"Type") choice "Soft Limit,Hard Limit,Soft Clip,Hard Clip" 0
$control type (_"Type") choice ((_"Soft Limit") (_"Hard Limit") (_"Soft Clip") (_"Hard Clip")) 0
$control gain-L (_"Input Gain (dB)\nmono/Left") real "" 0 0 10
$control gain-R (_"Input Gain (dB)\nRight channel") real "" 0 0 10
$control thresh (_"Limit to (dB)") real "" -3 -10 0
$control hold (_"Hold (ms)") real "" 10 1 50
$control makeup (_"Apply Make-up Gain") choice "No,Yes" 0
$control makeup (_"Apply Make-up Gain") choice ((_"No") (_"Yes")) 0
(if (not (boundp 'type))
(setf type 0))