Ableton Live 9.2 MIDI remote scripts source code

Discuss music production with Ableton Live.
Post Reply
julienb
Posts: 1815
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Ableton Live 9.2 MIDI remote scripts source code

Post by julienb » Tue Jul 28, 2015 6:09 pm

I (FINALLY) got time to decompyle all Ableton Live 9.2 MIDI remote scripts for your pure pleasure

You can find them there:
https://github.com/gluon/AbletonLive9_RemoteScripts

The (UNOFFICIAL) Live Python object documentation


You can also find on my website these 2 links at the top of the page there
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

regretfullySaid
Posts: 8913
Joined: Thu Apr 22, 2010 5:50 pm

Re: Ableton Live 9.2 MIDI remote scripts source code

Post by regretfullySaid » Tue Jul 28, 2015 7:49 pm

Thanks!
ImageImage

irrelevance
Posts: 463
Joined: Tue May 20, 2008 7:31 pm

Re: Ableton Live 9.2 MIDI remote scripts source code

Post by irrelevance » Fri Jul 31, 2015 9:17 pm

Thanks julien 8)

Airyck
Posts: 739
Joined: Thu Jul 02, 2009 11:54 pm
Location: Phoenix, AZ

Re: Ableton Live 9.2 MIDI remote scripts source code

Post by Airyck » Sat Aug 01, 2015 4:06 am

This is great! Thank you so much for your work, your timing is impeccable!
Ableton Live 10 Suite / Push 2 / Max 8 /

Raztua
Posts: 24
Joined: Fri Dec 20, 2013 7:38 pm

Re: Ableton Live 9.2 MIDI remote scripts source code

Post by Raztua » Sat Aug 01, 2015 10:33 am

thanks julien,

That's a wonderfull job!

hacktheplanet
Posts: 2846
Joined: Sat Sep 25, 2004 6:37 am
Location: Chicago, IL
Contact:

Re: Ableton Live 9.2 MIDI remote scripts source code

Post by hacktheplanet » Sat Aug 01, 2015 3:24 pm

This is great, you are great.

The VCM600 scripts didn't work right away for me, so I did some debugging.
The log (~/Library/Preferences/Ableton/Live 9.2/log.txt) recorded this:

Code: Select all

8800 ms. RemoteScriptError: raise index in range(len(self._track_eqs)) or AssertionError

8800 ms. RemoteScriptError: TypeError
8800 ms. RemoteScriptError: : 
8800 ms. RemoteScriptError: exceptions must be classes, instances, or strings (deprecated), not bool
Here's the script from the VCM600/MixerComponent.py that threw the first error:

Code: Select all

def track_eq(self, index):
        raise index in range(len(self._track_eqs)) or AssertionError
        return self._track_eqs[index]
I know very, very little Python, but after some light reading it seems that the syntax was incorrect for the version of Python Live 9.2 uses. Using 'assert' instead of 'raise' solves the problem and the script compiles properly:

Code: Select all

def track_eq(self, index):
        #raise index in range(len(self._track_eqs)) or AssertionError
        assert index in range(len(self._track_eqs)) or AssertionError
        return self._track_eqs[index]
If you find that these scripts don't work right away, it may just be due to syntactical errors!
Image

hacktheplanet
Posts: 2846
Joined: Sat Sep 25, 2004 6:37 am
Location: Chicago, IL
Contact:

Re: Ableton Live 9.2 MIDI remote scripts source code

Post by hacktheplanet » Sun Aug 02, 2015 9:41 pm

While I'm thinking about it, does anyone know how to use __timer_count?
I'd like to do some timer based stuff, and time.sleep(x) sleeps the whole thread of course.
Image

irrelevance
Posts: 463
Joined: Tue May 20, 2008 7:31 pm

Re: Ableton Live 9.2 MIDI remote scripts source code

Post by irrelevance » Wed Aug 05, 2015 8:19 am

Just tried the moving the decompiled vcm600 scripts into remote scripts folder and live 9.2 had no problem (re)compiling them.

infinitystairs
Posts: 21
Joined: Tue Sep 27, 2016 10:34 pm

Re: Ableton Live 9.2 MIDI remote scripts source code

Post by infinitystairs » Sat May 27, 2017 10:15 pm

Hi Julien, I think something is broken in Live 9.7.2 with the decompiled midi remote scripts I downloaded from the Master branch at your GitHub repo.

When I place them in my MIDI Remote Scripts folder and launch Live, almost all of the controllers are missing from the list.

Similar issue was reported on GitHub:
https://github.com/gluon/AbletonLive9_R ... /issues/32

julienb wrote:I (FINALLY) got time to decompyle all Ableton Live 9.2 MIDI remote scripts for your pure pleasure

You can find them there:
https://github.com/gluon/AbletonLive9_RemoteScripts

The (UNOFFICIAL) Live Python object documentation


You can also find on my website these 2 links at the top of the page there

pottering
Posts: 1807
Joined: Sat Dec 06, 2014 4:41 am

Re: Ableton Live 9.2 MIDI remote scripts source code

Post by pottering » Sun May 28, 2017 4:14 am

Those decompiled scripts are NOT for users to download and install, because they are THE SAME SCRIPTS THAT ALREADY COME INSTALLED with Live, so no need for anyone to do that.
♥♥♥

infinitystairs
Posts: 21
Joined: Tue Sep 27, 2016 10:34 pm

Re: Ableton Live 9.2 MIDI remote scripts source code

Post by infinitystairs » Sat Jun 10, 2017 2:45 am

pottering, what do you mean these scripts already come installed? On Mac, Live 9.7.2, I have the compiled .pyc framework files. I want to study the decompiled files. I can't find a 9.7+ version.
pottering wrote:Those decompiled scripts are NOT for users to download and install, because they are THE SAME SCRIPTS THAT ALREADY COME INSTALLED with Live, so no need for anyone to do that.

pottering
Posts: 1807
Joined: Sat Dec 06, 2014 4:41 am

Re: Ableton Live 9.2 MIDI remote scripts source code

Post by pottering » Sat Jun 10, 2017 4:36 am

infinitystairs wrote:pottering, what do you mean these scripts already come installed? On Mac, Live 9.7.2, I have the compiled .pyc framework files. I want to study the decompiled files. I can't find a 9.7+ version.
pottering wrote:Those decompiled scripts are NOT for users to download and install, because they are THE SAME SCRIPTS THAT ALREADY COME INSTALLED with Live, so no need for anyone to do that.
I don't know how Julien Bayle decompiled them, sorry.

I just did a test here with a 9.6 script from github in Ableton Live 9.7.2, and it compiled the .py into a .pyc just fine (Ableton found it).

Did you change the folders name when dropping them inside "MIDI Remote Scripts"?
Did you drop just the scripts, outside the original folders?

You can't just change the folder name or remove the script from inside it, the scripts have to be inside that folder (that usually has the same name) or you have to edit the references inside the .py file.

Otherwise, asking Julien Bayle seems to be the only way, at least for now.
♥♥♥

Post Reply