Scripting in Studio One

Audio Plugin Hosts and other audio software applications discussion
RELATED
PRODUCTS

Post

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.

Post

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.
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?

Post

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

Post

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.
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)
Yes, I can try using the commands. I didn't know I could integrate them into scripts.
Thanks for pointing that out.

Post Reply

Return to “Hosts & Applications (Sequencers, DAWs, Audio Editors, etc.)”