Skip to content

About

Ableton Live MIDI Remote Script: M-Vave Chocolate footswitch as a transport controller (play, rewind/FF by bar, record, undo, metronome, loop)

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

TransportCC

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.

Default mapping

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

Installation

  1. 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
  2. Restart Live (scripts are only loaded at launch).

  3. In Preferences → Link/Tempo/MIDI:

    • Set a free Control Surface slot to TransportCC, and its Input to your Chocolate's MIDI port. Leave Output at None.
    • 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).
  4. Press a pedal button - the transport should respond immediately.

Configuring the Chocolate

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 note (macOS)

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.

Remapping / adapting

Everything configurable lives at the top of __init__.py:

  • MIDI_CHANNEL - 0-indexed channel to listen on (0 = channel 1).
  • CC_ACTIONS - a dict of CC 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_record

See the Live Object Model docs for what song exposes. After any edit, fully restart Live to reload the script.

Troubleshooting

  • 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 as TransportCC error on CC <n>: ....

  • 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 via Live.MidiMap.forward_midi_cc() in build_midi_map() - without that, the script receives nothing but SysEx. This script already registers every CC in CC_ACTIONS.

About

Ableton Live MIDI Remote Script: M-Vave Chocolate footswitch as a transport controller (play, rewind/FF by bar, record, undo, metronome, loop)

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages