Controlling more than 8 params at once.

Post Reply New Topic
RELATED
PRODUCTS

Post

Hey guys

Evan from KMI was really helpful with my Novation X-Station script

He suggested, in order to send more than 8 ccs to params on several pages at once, this:

This option controls the parameters directly (without setParameterPage), but you have to ask the cursor device for the IDs of all of its parameters, store them in a list, and then recall the correct ID based on what CC you are using. Here are some of the things you'd need to do.

var parameterIds = [];

cursorDevice.addDirectParameterIdObserver(function(list){
parameterIds = list;
})

cursorDevice.setDirectParameterValueNormalized(parameterIds[data1], data2, 128)

This is assuming that you are using sequential CCs starting at 0.


Can anyone tell me where to insert this (in my init, or functions.js?)
And tell me what else i need, especially if i would like to start my CCs at 17 instead?

Post Reply

Return to “Controller Scripting”