|
|
|
06-28-2020, 12:03 PM
|
#1
|
Human being with feelings
Join Date: Dec 2019
Location: sthlm, swe
Posts: 150
|
Is there a Reascript function for renaming FXs?
Hi,
Is there a Reascript function for renaming track FX programmatically?
Eg. rename an EQ VST to 'lowpass' etc..
Thanks,
// h
|
|
|
06-28-2020, 12:05 PM
|
#2
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Haven't checked, but maybe TrackFX_SetNamedConfigParm ?
|
|
|
06-28-2020, 12:12 PM
|
#3
|
Human being with feelings
Join Date: Dec 2019
Location: sthlm, swe
Posts: 150
|
Allright, I will try it and report back!
|
|
|
06-28-2020, 12:24 PM
|
#4
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Hmm, seems to be more for setting parameters who have a name, but not for renaming an FX-instance.
If no one brings up a solution to this, I'll attempt a function for my Ultraschall-API that does it.
|
|
|
06-28-2020, 12:29 PM
|
#5
|
Human being with feelings
Join Date: Dec 2019
Location: sthlm, swe
Posts: 150
|
Do you know if there is a way to find out what all the availavle 'string parmname'
options are? I am looking for clues in other functions.
|
|
|
06-28-2020, 12:31 PM
|
#6
|
Human being with feelings
Join Date: Dec 2019
Location: sthlm, swe
Posts: 150
|
Quote:
Originally Posted by Meo-Ada Mespotine
Hmm, seems to be more for setting parameters who have a name, but not for renaming an FX-instance.
If no one brings up a solution to this, I'll attempt a function for my Ultraschall-API that does it.
|
Allright cool!! I have to check out what ultraschall is.
|
|
|
06-28-2020, 12:33 PM
|
#7
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Link in my signature. In short: Ultraschall-API adds tons of functions to Reaper, who allow you to do things, that are normally hard to do.
Programming rendering, routing, and tons of other things.
api.mespotine.de
I will think into it, but as far as I could see, this should be possible to do to write a function for renaming fx-instances.
|
|
|
06-28-2020, 12:37 PM
|
#8
|
Human being with feelings
Join Date: Dec 2019
Location: sthlm, swe
Posts: 150
|
I installed it! Nice!
Yeah, I think being able to rename FX from script would be quite a nice feature.
|
|
|
06-28-2020, 12:58 PM
|
#9
|
Human being with feelings
Join Date: Dec 2019
Location: sthlm, swe
Posts: 150
|
Quote:
Originally Posted by Meo-Ada Mespotine
Link in my signature. In short: Ultraschall-API adds tons of functions to Reaper, who allow you to do things, that are normally hard to do.
Programming rendering, routing, and tons of other things.
api.mespotine.de
I will think into it, but as far as I could see, this should be possible to do to write a function for renaming fx-instances.
|
What language would you use for implementing the rename functionality? Is that done
in C?
|
|
|
06-28-2020, 01:01 PM
|
#10
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
I do it in Lua, as the whole Ultraschall-API is in Lua. Unlike JS-extension or SWS, wo are in CPP.
|
|
|
06-28-2020, 01:03 PM
|
#11
|
Human being with feelings
Join Date: Dec 2019
Location: sthlm, swe
Posts: 150
|
I don't understand how that works? How can you add that functionality if it is not in
the Reascript API from the beginning? It's gonna be nice to see how you do it because I
am quite new to Reascript.
|
|
|
06-28-2020, 01:12 PM
|
#12
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
It is added, when you install it and add the line
Code:
dofile(reaper.GetResourcePath().."/UserPlugins/ultraschall_api.lua")
into it, which will add my functions to your script.
After that line, you have access to all of these functions and can use them as any other ReaScript-function:
https://mespotin.uber.space/Ultrasch...Functions.html
To give you an idea, of what is possible, just read over this page:
https://mespotin.uber.space/Ultrasch..._Concepts.html
It will act as a tutorial on many concepts I included. But there are many other functions available that are only covered in the US_Api_Functions.html-functionlist.
|
|
|
06-29-2020, 12:40 AM
|
#13
|
Human being with feelings
Join Date: Dec 2019
Location: sthlm, swe
Posts: 150
|
Dude, this is awesome. It's gonna take a while for me to get into the API sinde it
is huge but I am really starting to enjoy managing my projects in code!
Can I ask you what the new function is called? ultraschall.renameTrackFX()?
|
|
|
06-29-2020, 08:31 AM
|
#14
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Not Dude, Mam!
It's not yet called anything. I only finished the get-functions yet and will write the set functions somewhen today.
I hope I can release the update within the next two days.
|
|
|
06-29-2020, 12:56 PM
|
#15
|
Human being with feelings
Join Date: Dec 2011
Posts: 2,167
|
There is a new 'Rename' script ...
i just can't recall the author at the moment ... but its' from one of the GURU scripters.
Got it via REAPACK.
It will rename all the similar named plugins to the new name in a Track
|
|
|
06-30-2020, 02:33 AM
|
#16
|
Human being with feelings
Join Date: Dec 2019
Location: sthlm, swe
Posts: 150
|
Do you mean that it renames a track in the end or does it rename the individual
plugin instances?
|
|
|
06-30-2020, 02:41 AM
|
#17
|
Human being with feelings
Join Date: Dec 2019
Location: sthlm, swe
Posts: 150
|
|
|
|
06-30-2020, 08:07 AM
|
#18
|
Human being with feelings
Join Date: Dec 2011
Posts: 2,167
|
Quote:
Originally Posted by dimtok
Do you mean that it renames a track in the end or does it rename the individual
plugin instances?
|
individual plugins.
|
|
|
06-30-2020, 08:12 AM
|
#19
|
Human being with feelings
Join Date: Dec 2019
Location: sthlm, swe
Posts: 150
|
Quote:
Originally Posted by RJHollins
individual plugins.
|
Allright! Yes I found it in the package above.
|
|
|
06-30-2020, 06:36 PM
|
#20
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Just in case you still need them: they are up and running. Will be released tomorrow, if nothing stupid happens along the line:
https://forum.cockos.com/showpost.ph...&postcount=529
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 12:57 PM.
|