Cakewalk A-300 Pro Controller Script

RELATED
PRODUCTS

Post

Okay, got it working eventually... Thanks.

Haven't read all the above but I assume assigning different keystrokes to B1-B4 is a pain?

Post

not really, what do you want to change?

Post

Not sure yet, just found out that B1 and B2 did not do what they were suppose to do because I'm on Dual Screen setup.
They do the trick when switching to a Single Screen.

Post

hm ok, i'm also on dual screen setup..working here.

It's only supposed to work on the arranger screen then:
Image

Post

You're right!

That did the trick!

Post

Glad it works for you now, feel free to ask further questions if there are any.

cheers

Post

Can any of the buttons on the A-300 programmed to bring up 3rd party VSTi's / FX?

Post

could be possible i think yes, will have a look. But moving places currently, so i do not have a lot of freetime.

Post

A1 open/close VSTi.
A2 open/close FX.

How awesome would that be?!

Post

yes why not, i do not use those pads anyway personally. Will check..

Post

hi , i see u are expert from A-300 ;) , tell me is it posible for exampl :

B1 - duplicate
B2 - loop selection
B3 - export file

???

Post

would be possible yes. At least they are available in the api.

Post

thanks , but i have no idea how can i do this... no info in roland , no tutorial in youtube... f**k Image

Post

you would need to add the right things to the script itself.

probably something here:

the export thing is an action.


I'm not sure if one needs to do something in the function init() to access these action, nor do i understand how to read out the list of actions. Maybe open a seperate topic about this.

Code: Select all

function init()
{
    transport = host.createTransport();
    cursorTrack = host.createCursorTrack(0,0);
    primaryDevice = cursorTrack.getPrimaryDevice();
    masterTrack = host.createMasterTrack(0);
    application   = host.createApplication();

and change these:

Code: Select all

case _b1:
                application.toggleNoteEditor();
                break;
            case _b2:
                application.toggleAutomationEditor();
                break;
            case _b3:
                application.toggleMixer();
                break;
            case _b4:
                application.toggleDevices();
for duplicate this would for example look like this then:

Code: Select all

case _b1:
                application.duplicate();
                break;
the available commands can be found here for example: http://controller-api.bitwig.com/
For an up to date version, check out the help menu in bitwig. There you will find a scripting guide and also the latest reference to the API.

click on application on the left and you see everything available for "application.something". You can simply add that to any of these "b" buttons, like shown above.

For "loop selection" i have no idea, actualy it doesn't seem to be available from the API yet. At least i couldn't find it in that tree on the left. Maybe somebody else has an idea about this, or ask the support.

good luck

Post Reply

Return to “Controller Scripting”