This forum is read-only. Please post new topics in our Q&A forum.

Ableton Live and scrolling

General discussion about MIDI Translator

Moderators: florian, DvlsAdvct

Post Reply
matsimpson
New User
Posts: 1
Joined: Wed Oct 31, 2007 8:54 pm

Ableton Live and scrolling

Post by matsimpson » Wed Oct 31, 2007 8:57 pm

Just started using MT, its a wonderful piece of software :D
I've started setting up some mouseless control style scripts, using keys on my BCR2000 to click left and right- this is fine. However, I want to make it so that if i turn a knob to the left (anti clockwise), MT will send a keystroke "Left", and if i turn it to the right, MT will send a keystroke to the right. This would make the script much less space consuming - halving the number of keys i would need to scroll up down left and right.. Is there any way of doing this?
i was thinking if you could put "*midi CC name* value goes up then that means scroll to the right, if the value goes down then scroll to the left. But i dont know how to do this if its possible.
Any ideas?

User avatar
florian
Bome Software: Founder
Posts: 2435
Joined: Thu Apr 28, 2005 10:09 pm
Location: Munich, Germany
Contact:

Post by florian » Fri Nov 02, 2007 7:02 pm

Hi,

yes, you can do this with MT Pro using variables. In essence:

- use a global variable, e.g. ga to remember the last value of the controller
- each time you turn the knob, compare the new value with ga. If the new value is larger, you turned to the right, so output the "right" key
- if the new value is smaller, output the "left" key.

These are the necessary controllers for that:

Code: Select all

Translator 1: new value greater than ga, output right key
Options: stop=false
Incoming: MIDI B0 4A pp 
Rules: 
  if pp>ga then exit rules, execute Outgoing Action
  exit rules, skip Outgoing Action
Outgoing: Keystroke: Right 

Translator 2: new value smaller than ga, output left key
Options: stop=false
Incoming: MIDI B0 4A pp 
Rules: 
  if pp<ga then exit rules, execute Outgoing Action
  exit rules, skip Outgoing Action
Outgoing: Keystroke: Left 

Translator 3: remember value for next time in ga
Options: stop=false
Incoming: MIDI B0 4A pp 
Rules: 
  ga=pp
Outgoing: (none)
It's very important to uncheck "Stop Processing", because all threee translator entries should see the same MIDI message. Also, replace B0 4A pp with the controller message sent by the BCR2000, replacing the last number with pp.

Let us know how it works!
Florian

Post Reply