General

how to send a controller message

Started by markscheel on .

Sign in or create an account to join the conversation.

4 posts

i found out that i need to send

if(x==0) ctlout(0,42,63,1) to make it work

unfortunately the controller i want to controll is not exactly centered.

if i send a value of 64 it is going a little bit over the center position.

i guess this is not due to the lemur but the rackextension in reason 7 is to blame for that behavior.

any ideas greatly appreciated

cheers mark
There are a number of things you can do to locate the exact position (MIDI 0 - 127 range value) of the controlled element.

The easiest way would be to mock up a fader or knob and use the native midi mapping on it so that you can get feedback out of it....Lets say you use a fader named "Fader". Map it to the desired control and move the control so that the fader in Lemur also moves - then move it to the desired setting (the one you wish to send).

Then insert a monitor object in the project and set it to show the value:

Fader.x*127

The result is your desired number (instead of 64)