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

Pedal cycle for program changes

General discussion about MIDI Translator

Moderators: florian, DvlsAdvct

Post Reply
compaqdrew
New User
Posts: 1
Joined: Wed Nov 08, 2006 1:43 am

Pedal cycle for program changes

Post by compaqdrew » Wed Nov 08, 2006 1:52 am

I would really like to be able to cycle through my tracks in Ableton Live with a pedal, as it frees up my hands for playing. Is it possible to take a MIDI message from my petal (e.g. CC 64 127) and cause this to cycle through the Ableton arm buttons? I.e. I press my pedal once and it arms track 2, then I press again and it arms track 3, again track 4, etc...

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

Post by florian » Thu Nov 16, 2006 7:51 pm

Hi,

I could swear that I've replied to your post! For some reason the response is gone... Anyway, here's how to do it:

This can only be done with Midi Translator Pro, because it uses the Rules feature. Possibly it could be implemented with the classic version by cycling through different presets, but that's clumsy and very unflexible if you have other Translators as well.

Anyway, we use a global variable "ga" for the cycle counter. An example for 3 cycles:

Code: Select all

Translator 1: increase the cycle counter
GENERAL: uncheck "stop processing"
[you want the next translators to be evaluated, too]
INCOMING: MIDI B0 40 7F
[40 is hexadecimal for 64 and 7F is hex for 127]
RULES:
  ga = ga + 1
  IF ga > 3 THEN ga = 1
[increment ga. start from the beginning if ga is larger than 3]
OUTGOING:
  nothing
[this translator only manages the counter]

Translator 2: arm track 1
GENERAL: uncheck "stop processing"
INCOMING: MIDI B0 40 7F
RULES:
  IF ga != 1 THEN exit rules, skip this Translator
[do not execute if ga is not 1]
OUTGOING: keystroke <arm track 1>

Translator 3: arm track 2
GENERAL: uncheck "stop processing"
INCOMING: MIDI B0 40 7F
RULES:
  IF ga != 2 THEN exit rules, skip this Translator
OUTGOING: keystroke <arm track 2>

Translator 4: arm track 3
GENERAL: uncheck "stop processing"
INCOMING: MIDI B0 40 7F
RULES:
  IF ga != 3 THEN exit rules, skip this Translator
OUTGOING: keystroke <arm track 3>
Does that work? Let us know!
Florian

Post Reply