Ableton Browser navigation using hardware

4.45K viewsGeneral
0

Is there a way to scroll through your library of files then load it to the desired clip (if MIDI or audio) or a channel (if .als project file) using a hardware MIDI Controller instead of a keyboard & mouse? For example I have a Traktor F1 controller that has a rotary knob which you can also push as a button, 4 faders and lots of other buttons. Is it possible to map/script this for that function using Remotify? Many Thanks

jmw Answered question
Attached Files:
1

Hi,
After trying with Remotify and the code snippets while looking at the Ableton Live Object (LOM), the only way I found was to use AppleScript to simulate the “Enter” key.

You need to enable AppleScript in the settings.

Here’s the code:

Listerner : (CC value for exemple)

self.midi_cc_ch_1_val_10.cur_val == 127

Custom code:

# === LOAD DEVICE VIA APPLESCRIPT ===

import subprocess

try:

app = Live.Application.get_application()

app.view.focus_view(‘Browser’)

# delay to focus

import time

time.sleep(0.05)

# Enter Key

subprocess.call([‘osascript’, ‘-e’, ‘tell application “System Events” to keystroke return’])

except Exception as e:

self.log_message(f”Error: {str(e)}”)

jmw Edited answer
You are viewing 1 out of 10 answers, click here to view all answers.