Help for Audacity on Windows.
Forum rules
This forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at
https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the
1.2.x and
1.3.x forums.
-
Robert J. H.
- Posts: 3633
- Joined: Thu May 31, 2012 8:33 am
- Operating System: Windows 10
Post
by Robert J. H. » Fri Feb 13, 2015 9:24 pm
Steve Bender wrote:Ok, I'll try it!
But are you saying I should paste all that into a blank Nyquist prompt? Or is there a Nyquist prompt that is accessed through the import labels interface?
The blank Nyquist Prompt.
BTW You can of course always insert a manual label by pressing Ctrl-b (for regions) or Ctrl-m.
It's just a question of getting used too after e.g. pasting a clip or shifting it around, in other words, always when a part of interest (a note) is selected.
-
Steve Bender
- Posts: 152
- Joined: Wed Feb 11, 2015 5:59 pm
- Operating System: Please select
Post
by Steve Bender » Sat Feb 14, 2015 12:24 am
I tried, but got an error:
This is the code I entered:
Code: Select all
'((0 "Elktro-C5")
(8 "Elktro-D5")
(16 "Elktro-E5")
(24 "Elktro-F5")
(32 "Elktro-G5")
(40 "Elktro-A5"))
-
Robert J. H.
- Posts: 3633
- Joined: Thu May 31, 2012 8:33 am
- Operating System: Windows 10
Post
by Robert J. H. » Sat Feb 14, 2015 4:27 am
Steve Bender wrote:I tried, but got an error:
This is the code I entered:
Code: Select all
'((0 "Elktro-C5")
(8 "Elktro-D5")
(16 "Elktro-E5")
(24 "Elktro-F5")
(32 "Elktro-G5")
(40 "Elktro-A5"))
What error?
Press debug instead of ok and copy the output into your next post.
The code works on my system as expected, a label track with 6 point labels has been created.
-
Steve Bender
- Posts: 152
- Joined: Wed Feb 11, 2015 5:59 pm
- Operating System: Please select
Post
by Steve Bender » Sat Feb 14, 2015 4:45 am
Robert J. H. wrote:What error?
"Your code looks like SAL syntax. " Then it says to use a return statement for SAL, or for open parenthesis for LISP.
Sorry, wouldn't allow me to copy,or choose debug after running the script.
-
Robert J. H.
- Posts: 3633
- Joined: Thu May 31, 2012 8:33 am
- Operating System: Windows 10
Post
by Robert J. H. » Sat Feb 14, 2015 6:55 am
Steve Bender wrote:Robert J. H. wrote:What error?
"Your code looks like SAL syntax. " Then it says to use a return statement for SAL, or for open parenthesis for LISP.
Sorry, wouldn't allow me to copy,or choose debug after running the script.
I see, my fault.
It worked for me because there was some code before this list and so it was automatically interpreted as Lisp code.
Just at a pair of empty parenthesis before the apostrophe:
I know, it's somewhat weird, but it works.
-
Steve Bender
- Posts: 152
- Joined: Wed Feb 11, 2015 5:59 pm
- Operating System: Please select
Post
by Steve Bender » Sat Feb 14, 2015 8:26 am
Awesome, now it works!
Thanks, this will be a huge time saver for me.