Scripting in Studio One
-
- KVRist
- 124 posts since 29 Oct, 2024
Cakewalk Sonar just added Lua as their scripting language and glancing at it, it looks good. While I wouldn't want to go to Cakewalk again, I wish that Studio Pro would follow suit though I know they are heavily invested in Javascript. Still seeing Cake offer it, it would be nice to expose a scripting language API to the public.
-
- KVRer
- 3 posts since 21 Apr, 2011
My main question is how to assign any sound variation index to a selected note. I hope there is a function like "setSoundVariation(...)" but I don't know how to check it?Fidelitymusic wrote: Mon Jun 29, 2026 1:54 am Not much you can do from what's currently known. That just returns a 0-based index for which variation is assigned to a note, -1 = none, 0 = first, 1 = second, etc.
-
- KVRist
- 182 posts since 12 Mar, 2014
As of right now there isn't.
You could possibly achieve what you're looking for using commands in your script: https://csources.github.io/Studio-Pro-S ... -variation
You could possibly achieve what you're looking for using commands in your script: https://csources.github.io/Studio-Pro-S ... -variation
-
- KVRer
- 3 posts since 21 Apr, 2011
AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
Yes, I can try using the commands. I didn't know I could integrate them into scripts.Fidelitymusic wrote: Tue Jun 30, 2026 1:45 am As of right now there isn't.
You could possibly achieve what you're looking for using commands in your script: https://csources.github.io/Studio-Pro-S ... -variation (https://csources.github.io/Studio-Pro-Scripting-API-Reference/docs/host/command_reference#sound-variation)
Thanks for pointing that out.