Page 1 of 1

can't make the ctlout work

Posted: 11 Feb 2016 13:27
by Musicmind
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?

Re: can't make the ctlout work

Posted: 11 Feb 2016 14:02
by MrCorba
Does your computer computer receive the midi sent by Lemur or doesn't send Lemur anything at all?

And just to be sure, you've set the script to fire On expression x right?

Re: can't make the ctlout work

Posted: 11 Feb 2016 21:00
by Musicmind
I managed! I had forgot the "x" in the On Expression formular! ;-)