can't make the ctlout work

Discuss Lemur and share techniques.
Post Reply
Musicmind
Newbie
Posts:11
Joined:17 Nov 2015 19:29
can't make the ctlout work

Post by Musicmind » 11 Feb 2016 13:27

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?

MrCorba
Regular
Posts:143
Joined:02 Sep 2013 20:17
Location:Netherlands

Re: can't make the ctlout work

Post by MrCorba » 11 Feb 2016 14:02

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?
"Having no silence in music is like having no black or white in a painting" - Brian Eno
https://soundcloud.com/mrcorba

Musicmind
Newbie
Posts:11
Joined:17 Nov 2015 19:29

Re: can't make the ctlout work

Post by Musicmind » 11 Feb 2016 21:00

I managed! I had forgot the "x" in the On Expression formular! ;-)

Post Reply