1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-27 15:50:10 +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

@@ -13,9 +13,9 @@ $copyright (_"Released under terms of the GNU General Public License version 2")
;; Released under terms of the GNU General Public License version 2:
;; http://www.gnu.org/licenses/old-licenses/gpl-2.0.html .
$control type (_"Fade type") choice "Constant Gain,Constant Power 1,Constant Power 2,Custom Curve" 0
$control type (_"Fade type") choice ((_"Constant Gain") (_"Constant Power 1") (_"Constant Power 2") (_"Custom Curve")) 0
$control curve (_"Custom curve") real "" 0 0 1
$control direction (_"Fade direction") choice "Automatic,Alternating Out / In,Alternating In / Out" 0
$control direction (_"Fade direction") choice ((_"Automatic") (_"Alternating Out / In") (_"Alternating In / Out")) 0
(defun crossfade (type dir curve)