17-09-2021

Hello!

Dec 23, 2019 I would LOVE the ability to open multiple live sets at a time. One can go through a coding procedure to do this (i.e. Terminal in macOS or command in Windows) but it would be nice to be able to open multiple at a time with native support. Sep 20, 2020 Run Ableton, and open a terminal window. Once Ableton loads, if you select your remote midi script, as soon as it hits the breakpoint the Ableton process should freeze. This is normal, as the process is awaiting on the python debugger connection. In your terminal, run the following command: Code: Select all. Telnet 127.0.0.1 4444. Ableton makes Push and Live, hardware and software for music production, creation and performance. AbletonĀ“s products are made to inspire creative music-making.

I've been writing few remote scripts for Ableton, and something I've struggled quite a bit was debugging them.

Open Ableton In Terminal 3

It's a personal thing, usually when I code, especially in an environment that I don't know, I need to debug it to understand what's behind the curtain.

Open Ableton In Terminal 8

Anyway, how?
I've used remote pdb, here's what you have to do in order to use it [Windows]:
Open ableton in terminal 8
  • Pip install remote_pdb in Ableton Remote Scripts folder
create any virtual environment with python 2.7, or use your system interpreter and run the following command: The target folder is your Midi Remote Scripts folder.
This will install remote_pdb and make it accessible in your remote scripts.
  • Enable telnet in Windows.
Open your control panel, click Programs, click Turn WIndows Features On/Off.
Look for Telnet, enable it. This will allow you to connect to the pdb process in Ableton.
  • The following point is my own pattern, you can do this differently. I created a singleton class which runs the connection listener. This has to be done ONCE, or the process will get stuck and you'll have to use a different terminal each time you run the connection listener creation. The singleton pattern creates the listener just once time in a Debugger singleton class, that you can later on access quickly.

Hello neighbor alpha 3 minecraft. Code: Select all

  • Set your breakpoints.
In your code, set your breakpoints in the following way:Remember, Debugger is the singleton class we created in the previous point, so you'll have to import it from wherever you created it.
  • Run Ableton, and open a terminal window.
Once Ableton loads, if you select your remote midi script, as soon as it hits the breakpoint the Ableton process should freeze.
This is normal, as the process is awaiting on the python debugger connection.
In your terminal, run the following command:

Code: Select all


Check pdb page for the commands, few of them quickly:
  • n: Next line of code
  • s: Step inside code
  • c: continue to next breakpoint.
  • w: shows a traceback around the current line of code.
Hopefully this helped someone.
Iacopo