Page 1 of 1

send the same midi message as long as a knob is turned

Posted: Mon May 30, 2011 11:00 am
by abducted
hello !

I would like to emulate a bcr2000 emulating a mackie mcu... with a korg nanokontrol.

I found out that on some knobs, the bcr2000 sends the same message (b0 10 01) again and again when the knob is turned left, and antoher message (b0 10 41) when the knob is turned right.

I think this is because they are endless rotary encoders.

So my question would be : how to simulate this with standard knobs or faders as on the korg nanokontrol?

And how can midi translator guess that a knob on the nanokontrol is being turned left or right?

Re: send the same midi message as long as a knob is turned

Posted: Tue Jun 07, 2011 7:35 pm
by Attigo
Hi abducted,

Turning an endless encoder into an absolute knob is quite a simple task with rules in MT. What you need to do is set up a new Translator with the incoming message of your knob, and use rules like this...

Code: Select all

[x] Translator 0: Relative to Absolute
Incoming: MIDI B0 10 oo
Rules:
  if oo>=65 then ga=ga+1
  if oo<=1 then ga=ga-1
  if ga<=0 then ga=0
  if ga=>127 then ga=127
  if ga==127 then exit rules, skip Outgoing Action
  if ga==0 then exit rules, skip Outgoing Action
Outgoing: MIDI B0 10 ga

I hope this makes sense to you! Give it a try and let me know how it goes...

thanks,
Scott