Pedal cycle for program changes

compaqdrew

2006-11-08 01:52:40

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...

florian

2006-11-16 19:51:48

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