Page 2 of 2
Re: turn multiple clips to multiple tracks
Posted: Fri Feb 13, 2015 9:24 pm
by Robert J. H.
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.
Re: turn multiple clips to multiple tracks
Posted: Sat Feb 14, 2015 12:24 am
by Steve Bender
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"))
Re: turn multiple clips to multiple tracks
Posted: Sat Feb 14, 2015 4:27 am
by Robert J. H.
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.
Re: turn multiple clips to multiple tracks
Posted: Sat Feb 14, 2015 4:45 am
by Steve Bender
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.
Re: turn multiple clips to multiple tracks
Posted: Sat Feb 14, 2015 6:55 am
by Robert J. H.
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.
Re: turn multiple clips to multiple tracks
Posted: Sat Feb 14, 2015 8:26 am
by Steve Bender
Awesome, now it works!
Thanks, this will be a huge time saver for me.