• Hi and welcome to the Studio One User Forum!

    Please note that this is an independent, user-driven forum and is not endorsed by, affiliated with, or maintained by PreSonus. Learn more in the Welcome thread!

Studio One - Scripting API

Scripting obviously exists in Studio One - I believe our own @Lukas uses some part of it for the addons he's created, and I presume Paul Henty has reverse-engineered some level of access for the Icon scripts he's made for the P-1M and V-1M controllers. However, I haven't the first idea about what I would use them for if I had access, and I'm quite sure I'd make a pig's ear of it if I attempted any mods! That said, I'm sure there's a great deal of coding talent within the user community, and I know from other programs (not necessarily music-related) that the modding community is generally a very constructive and positive asset to the features offered by the target application. It would be interesting to see what they could do if the opportunity arose.
 
Lukas works at Presonus in addition to his other interests, hence he has access to scripting stuff that we do not.
It doesn't sound like there is any chance of user scripting at present, which is a shame.
I'm aware Lukas used to work at PreSonus. I was under the impression he no longer did so. I've read his explanations of how he had access to the scripts...
 
Still working for PreSonus / Fender (as a freelancer besides my own projects), still doing regular videos, still planning features with the team - and this year we were back at Superbooth with a PreSonus booth, which was great fun ;-)

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
I have a request. I'd like a script that would remove the gaps between a selected set of notes. The simple use case for me is: I have a multi-bar ostinato embedded part way in a track and it's using 1/8th notes but I want to hear it in 1/16th instead. I know that I can snip this section out, do the time warp dance and stitch it back together, but it would be so much simpler to select the notes, change them to 1/16 and use a shortcut to remove the resulting gaps. I could then audition the new phrase and either keep it or undo. There have been other times and scenarios when I have wished for this kind of functionality.

As the manager of a 30+ person development team in a previous life, it's easy for me to think of this as a simple script. Of course, having no access to the API it's also conceivable that it's far more complicated that I envision. Sure would be a nice time saver though.
 
I have a request. I'd like a script that would remove the gaps between a selected set of notes. The simple use case for me is: I have a multi-bar ostinato embedded part way in a track and it's using 1/8th notes but I want to hear it in 1/16th instead. I know that I can snip this section out, do the time warp dance and stitch it back together, but it would be so much simpler to select the notes, change them to 1/16 and use a shortcut to remove the resulting gaps. I could then audition the new phrase and either keep it or undo. There have been other times and scenarios when I have wished for this kind of functionality.
But you know the tempo macros (double time / half time) and that's not what you want?

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
But you know the tempo macros (double time / half time) and that's not what you want?

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
Yup. That's exactly what I want. I guess there's no way to assign a shortcut to a macro toolbar, right? It would be simpler to jump to a macro bar than it is now. I currently have 7 and it's become a bit unwieldy, so I've copied a bunch of stuff from around the horn and stuffed them into just a couple. That's how I missed the Tempo one. Lesson learned
 
Imagine the support load if it were to be made public

This is true. If it ever does go public they'd have to refuse support for it though the support channel. Otherwise support would be deluged with questions about it in support tickets. If it ever goes public like Reaper, Vegas, and a few others that have published API's, they'd have to do the same and publish a decent API, some basic examples, and provide it "As is" with no official support.

The rest would be up to the Internet, guys like Lukas who can assist others if and when they feel like it.
 
Last edited:
Yup. That's exactly what I want. I guess there's no way to assign a shortcut to a macro toolbar, right?
There is, you can assign shortcuts to any command or macro.

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
There is, you can assign shortcuts to any command or macro.

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
Just to be sure we're talking about the same thing. I know I can assign a shortcut to a macro, but I want to assign it to an entire toolbar. I want to be able to jump between my midi toolbar and the scoring tools and harmony wizard, etc... using shortcuts rather than going to the macro dropdown. All that mousing around is a workflow killer. If that can be done using the native tools then I've missed it.
 
This is true. If it ever does go public they'd have to refuse support for it though the support channel. Otherwise support would be deluged with questions about it in support tickets. If it ever goes public like Reaper, Vegas, and a few others that have published API's, they'd have to do the same and publish a decent API, some basic examples, and provide it "As is" with no official support.

The rest would be up to the Internet, guys like Lukas who can assist others if and when they feel like it. I have some tools I've created over the years that I haven't shared with anyone like below, but nowhere near the complexity of some of what Lukas has done.

View attachment 1803

That's value of it, to be able to create something that you may want that maybe nobody else (including the developers) wants.
It sure worked for Blender. I've built and sold Blender add-ons for years, with minimal support beyond the occasional visit to YouTube.
 
Just to be sure we're talking about the same thing. I know I can assign a shortcut to a macro, but I want to assign it to an entire toolbar. I want to be able to jump between my midi toolbar and the scoring tools and harmony wizard, etc... using shortcuts rather than going to the macro dropdown.
Ah - yes, then I have another video for you:

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

Check out the tutorial database for more of that:
 
Ah - yes, then I have another video for you:

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

Check out the tutorial database for more of that:
Chalk up another point to you. I don't know how I missed these 3 macros, but this is precisely what I was wanting. I'll have to go back to my notes and what else I've been grousing about. Maybe you'll have solutions for those as well. Till then...many thanks, and cheers
 
Per track MIDI offset for hardware synths.
Nothing like this can be done with scripting. In Studio One, scripting can essentially be used to create new edit tasks (Studio One commands), add toolbars or windows that perform certain actions, or implement integration for controllers, keyboards, and similar devices.
 
Back
Top