An Ableton Live MIDI Remote Script that turns the M-Vave Chocolate Bluetooth footswitch into a transport controller for Live.
Live's built-in MIDI Map Mode can't map several transport actions (rewind/fast-forward by a bar, return to beginning, undo) because they aren't exposed as mappable GUI elements. This script listens for CC messages and drives those actions directly through the Live Object Model instead.
All CCs on MIDI channel 1, momentary (value > 0 triggers, value 0 ignored):
| CC | Function |
|---|---|
| 20 | Play/Pause |
| 21 | Rewind 1 bar |
| 22 | Fast-forward 1 bar |
| 23 | Record |
| 24 | Undo |
| 25 | Return to Beginning |
| 26 | Toggle Metronome |
| 27 | Toggle Loop |
-
Clone (or download) this repo into Live's User Library Remote Scripts folder, keeping the folder name
TransportCC(the folder name is what appears in Live's Control Surface list):- macOS:
~/Music/Ableton/User Library/Remote Scripts/TransportCC - Windows:
%USERPROFILE%\Documents\Ableton\User Library\Remote Scripts\TransportCC
cd "~/Music/Ableton/User Library/Remote Scripts" git clone https://github.com/cartfisk/TransportCC.git
- macOS:
-
Restart Live (scripts are only loaded at launch).
-
In Preferences → Link/Tempo/MIDI:
- Set a free Control Surface slot to
TransportCC, and its Input to your Chocolate's MIDI port. Leave Output atNone. - In the MIDI Ports table below, enable Remote for the Chocolate's input port. This is a separate toggle from the Control Surface Input dropdown, and without it Live delivers no MIDI to any Remote Script (even though the MIDI activity indicator still flashes).
- Set a free Control Surface slot to
-
Press a pedal button - the transport should respond immediately.
Use M-Vave's app to put the pedal in a CC mode where each button sends a momentary CC with a nonzero value (e.g. value 127 on press) on channel 1, using CC numbers 20-23 (bank up for 24-27), or remap the script instead (below).
Bluetooth MIDI connections do not reconnect automatically after the pedal power-cycles. Reconnect via Audio MIDI Setup → Window → Show MIDI Studio → Bluetooth before launching Live. A USB connection avoids this entirely.
Everything configurable lives at the top of __init__.py:
MIDI_CHANNEL- 0-indexed channel to listen on (0 = channel 1).CC_ACTIONS- a dict ofCC number -> action function. Change the numbers to match your controller, remove entries you don't want, or point them at your own functions.
Each action is a plain function that receives Live's song object, so
adding new commands is one small function plus one dict entry:
def toggle_session_record(song):
song.session_record = not song.session_record
CC_ACTIONS[28] = toggle_session_recordSee the Live Object Model docs
for what song exposes. After any edit, fully restart Live to reload
the script.
-
Live's log is your friend:
- macOS:
~/Library/Preferences/Ableton/Live <version>/Log.txt - Windows:
%APPDATA%\Ableton\Live <version>\Preferences\Log.txt
On launch you should see
TransportCC loaded, listening on channel 1. Runtime errors are logged asTransportCC error on CC <n>: .... - macOS:
-
Buttons do nothing: check the Remote checkbox (step 3 above), then verify the pedal is actually sending the expected CCs with any MIDI monitor app while Live is closed.
-
For script authors: Live only delivers CC messages to a Remote Script's
receive_midi()if they were registered viaLive.MidiMap.forward_midi_cc()inbuild_midi_map()- without that, the script receives nothing but SysEx. This script already registers every CC inCC_ACTIONS.