Old 04-17-2017, 03:52 PM   #1
gwok
Human being with feelings
 
gwok's Avatar
 
Join Date: Jun 2010
Location: canada
Posts: 3,396
Default Script Req - (re)Name all Takes

Hey guys,

I was hoping maybe if this was possible, someone would be inclined to give it a try. I'm actually surprised there is no way to do this (unless I'm missing something, please let me know).

Basically I just want to name all the takes in an item in one go. As it is, all the naming actions, if the item has multiple takes, only name the active one. I deal with items that have potentially 10-15 takes, so a way to name them all in one go would be suuuuuper useful

If anyone has any thoughts or insights that maybe I'm not aware of, that would be great too!

Thanks!
gwok is offline   Reply With Quote
Old 04-18-2017, 01:46 AM   #2
jrengmusic
Human being with feelings
 
jrengmusic's Avatar
 
Join Date: Jun 2015
Location: Indonesia Raya
Posts: 684
Default

SWS action perhaps?

Xenakios/SWS: Rename Takes..

And there are also several variations for naming takes
jrengmusic is offline   Reply With Quote
Old 04-18-2017, 02:03 AM   #3
bFooz
Human being with feelings
 
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
Default

There really is no action for that. You could try to "Explode takes", then rename them with "Xenakios/SWS: Auto-rename selected takes..." and then implode them back.

Or if you would provide here some more info how it would ideally function for you, I could try to script something. Or maybe combine that SWS action with a custom script.
bFooz is offline   Reply With Quote
Old 04-18-2017, 02:33 AM   #4
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

Yes, more info needed how it should work I think.

Rename all takes with a fixed expression or would wildcards be needed etc.
nofish is offline   Reply With Quote
Old 04-18-2017, 02:52 AM   #5
me2beats
Human being with feelings
 
me2beats's Avatar
 
Join Date: Jul 2015
Location: Yekaterinburg, Russia
Posts: 400
Default

Rename takes.lua

added to my reapack repo http://forum.cockos.com/showthread.php?t=186999
__________________
My Reapack Repo
Donation
me2beats is offline   Reply With Quote
Old 04-18-2017, 04:32 AM   #6
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

SWS Label Processor
IXix is offline   Reply With Quote
Old 04-18-2017, 04:49 AM   #7
bFooz
Human being with feelings
 
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
Default

Quote:
Originally Posted by IXix View Post
SWS Label Processor
Indeed, there is a small tickbox in the right bottom corner for processing all takes. This should be sufficient then.
bFooz is offline   Reply With Quote
Old 04-18-2017, 10:38 AM   #8
gwok
Human being with feelings
 
gwok's Avatar
 
Join Date: Jun 2010
Location: canada
Posts: 3,396
Default

Great, thanks a lot Me2Beats!!! Works like a charm.



As well, thanks guys, I didn't know about the Label Processor!
gwok is offline   Reply With Quote
Old 04-18-2017, 11:18 AM   #9
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

Quote:
Originally Posted by gwok View Post
I didn't know about the Label Processor!
REAPER is an endless voyage of discovery. There's always something else you didn't know about.
IXix is offline   Reply With Quote
Old 04-18-2017, 12:29 PM   #10
gwok
Human being with feelings
 
gwok's Avatar
 
Join Date: Jun 2010
Location: canada
Posts: 3,396
Default

no doubt!
gwok is offline   Reply With Quote
Old 04-18-2017, 10:26 PM   #11
gwok
Human being with feelings
 
gwok's Avatar
 
Join Date: Jun 2010
Location: canada
Posts: 3,396
Default

Hey me2beats, I was wondering if you could add a little tweak possibly?

Could it be made that when running the script, the name field is automatically filled with the active takes name?

This would be really handy, for just appending things, or making little corrections. I am noticing it happens quite a bit actually, where it would be nice to have the name retained in the field by default.

I guess the super fancy way would be the name is retained, and selected/highlighted in the name field upon running the script. That way you you just start typing if you want a new name, or cursor left or right if you want to append/prepend something. I'm not really requesting that, though I was just referring to similar functions like that in other apps/programs.

Whatever works is fine by me, thanks!

gwok is offline   Reply With Quote
Old 04-18-2017, 11:16 PM   #12
me2beats
Human being with feelings
 
me2beats's Avatar
 
Join Date: Jul 2015
Location: Yekaterinburg, Russia
Posts: 400
Default

Quote:
Originally Posted by gwok View Post
Could it be made that when running the script, the name field is automatically filled with the active takes name?
Added Rename takes 2.lua
__________________
My Reapack Repo
Donation
me2beats is offline   Reply With Quote
Old 04-19-2017, 06:03 AM   #13
Gianfini
Human being with feelings
 
Join Date: Jan 2015
Posts: 794
Default

Hi, do you think someone could script something like the Label Processor for track names?

g
Gianfini is offline   Reply With Quote
Old 04-19-2017, 07:25 AM   #14
me2beats
Human being with feelings
 
me2beats's Avatar
 
Join Date: Jul 2015
Location: Yekaterinburg, Russia
Posts: 400
Default

Quote:
Originally Posted by Gianfini View Post
Hi, do you think someone could script something like the Label Processor for track names?

g
Hi!
It's easy to do. What arguments do you want?
like /F == First item name, /V = Track volume etc
__________________
My Reapack Repo
Donation
me2beats is offline   Reply With Quote
Old 04-19-2017, 09:10 AM   #15
Gianfini
Human being with feelings
 
Join Date: Jan 2015
Posts: 794
Default

Quote:
Originally Posted by me2beats View Post
Hi!
It's easy to do. What arguments do you want?
like /F == First item name, /V = Track volume etc
Good to hear! I go for the complex one, then you choose what to do. Anything better than nothing.

I'd say
/E[digits,first] enumerate in selection
/I[digits,first] inverse enumerate
/K item counts
/D duration until end of last item
/V Track volume fader
/P Track Pan (e.g. 35%L, 100%W)
/It first item name
/N track number
/L current label. It could have optional parameters to edit existing track name in square bracket such as [SUB "xxxxx" "yyyyy", TRIM_R x, TRIM_L x, OFFSET x, LENGTH x]. SUB substitutes string, TRIM_R and TRIM_L deletes x chars from right or left, OFFSET,LENGTH only takes x characters from OFFSET char of string. Empty values could be no parameter

So for example
Kick /L ["MD421" "",,,5,99] - /E[2,01]

Would rename "Drum MD421 Take A" "Kick Take A - 01"

g
Gianfini is offline   Reply With Quote
Old 04-19-2017, 10:30 AM   #16
gwok
Human being with feelings
 
gwok's Avatar
 
Join Date: Jun 2010
Location: canada
Posts: 3,396
Default

Quote:
Originally Posted by me2beats View Post
Added Rename takes 2.lua
Beautiful! Great work, thanks!!
gwok is offline   Reply With Quote
Old 04-26-2017, 04:55 AM   #17
Gianfini
Human being with feelings
 
Join Date: Jan 2015
Posts: 794
Default

I just saw the donation button!!

Donated, just in case it might help...

g
Gianfini is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.