General

can't make the ctlout work

Started by Musicmind on .

Sign in or create an account to join the conversation.

3 posts

Topic starter
Hi
I'm trying to create a template to control some macroes in Cubase.
I manage to do this by assigning midi CC's to some buttons in the Mapping Panel (to the left) in the Lemur Editor (5.3.2).

Now I try to do it the other way as suggested by a guy that knows a thing or two about Cubase.
He suggest to create a little script and use the function "ctlout". So in f ex. if I want to send CC20 to Cubase on port 0, midi channel 1, this should be the script: ctlout(0,20,127,1); and the script should run when I press the button.

But it doesn't work. I have created another button also connected to CC20 but the traditional way, and that works.

What am I missing?