Live 9 MIDI Remote Scripts revealed...

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

Re: Live 9 MIDI Remote Scripts revealed...

Post by julienb » Mon Mar 04, 2013 10:41 pm

agent314 wrote:If you're interested in Python (i.e. developing custom scripts, etc.) but don't know where to start, there is a 7 week course on Coursera starting April 13th

Can't vouch for the quality, but it's a good place to start
I'm okay myself and I almost hate python, but that seems to be totally interesting!
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

kryz
Posts: 39
Joined: Sat Nov 15, 2008 6:55 pm

Re: Live 9 MIDI Remote Scripts revealed...

Post by kryz » Mon Mar 04, 2013 11:12 pm

I like Monty Python.

julienb
Posts: 1815
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: Live 9 MIDI Remote Scripts revealed...

Post by julienb » Mon Mar 04, 2013 11:48 pm

kryz wrote:I like Monty Python.
+ + +
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

SBRK
Posts: 81
Joined: Tue Feb 08, 2011 3:26 pm
Location: Paris, France
Contact:

Re: Live 9 MIDI Remote Scripts revealed...

Post by SBRK » Wed Mar 06, 2013 2:36 am

Thanks a lot for that Julien ! I was bummed that my modified MackieControl script for the nanoKontrol 2 was not working anymore on Live 9, and now I can make one from your decompyled version.

As for Python, I never studied it and only used it when modifying Live scripts, but being a developer, it's quite easy to just modify an existing script to make it work the way I want.

julienb
Posts: 1815
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: Live 9 MIDI Remote Scripts revealed...

Post by julienb » Wed Mar 06, 2013 9:59 am

hackers and people using custom MIDI controller, you can find here everything you need to know to make your custom scripts
I don't teach python, btw.

http://julienbayle.net/ableton-live-9-m ... te-scripts

This will be the only URL remaining on my website.
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

deeflash
Posts: 25
Joined: Wed Apr 12, 2006 4:28 pm

Re: Live 9 MIDI Remote Scripts revealed...

Post by deeflash » Wed Mar 06, 2013 3:46 pm

Using the decompiled scripts, I generated the documentation for them similar to what was available for the 8.2.2 scripts on Hanz's site.

http://midicontrolfreaks.com/_Framework_901/

Let the midi hacking begin! :-)

julienb
Posts: 1815
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: Live 9 MIDI Remote Scripts revealed...

Post by julienb » Thu Mar 07, 2013 12:15 am

Some News.

1/ Some Live Objects Doc
I dumped some Live API Python Objects while Live was running.
Docs are here: http://julienbayle.net/ableton-live-9-m ... s/#liveAPI


2/ Native Scales of Push Scripts

MUSICAL_MODES =
['Major', [0,2,4,5,7,9,11],
'Minor', [0,2,3,5,7,8,10],
'Dorian', [0,2,3,5,7,9,10],
'Mixolydian', [0,2,4,5,7,9,10],
'Lydian', [0,2,4,6,7,9,11],
'Phrygian', [0,1,3,5,7,8,10],
'Locrian', [0,1,3,4,7,8,10],
'Diminished', [0,1,3,4,6,7,9,10],
'Whole-half', [0,2,3,5,6,8,9,11],
'Whole Tone', [0,2,4,6,8,10],
'Minor Blues', [0,3,5,6,7,10],
'Minor Pentatonic', [0,3,5,7,10],
'Major Pentatonic', [0,2,4,7,9],
'Harmonic Minor', [0,2,3,5,7,8,11],
'Melodic Minor', [0,2,3,5,7,9,11],
'Super Locrian', [0,1,3,4,6,8,10],
'Bhairav', [0,1,4,5,7,8,11],
'Hungarian Minor', [0,2,3,6,7,8,11],
'Minor Gypsy', [0,1,4,5,7,8,10],
'Hirojoshi', [0,2,3,7,8],
'In-Sen', [0,1,5,7,10],
'Iwato', [0,1,5,6,10],
'Kumoi', [0,2,3,7,9],
'Pelog', [0,1,3,4,7,8],
'Spanish', [0,1,3,4,5,6,8,10]]

Basically, you can add scales and use them with Push :D
COOL.

3/ Docs of _Framework & PUSH as HTML
_Framework
PUSH
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

willrjmarshall
Posts: 87
Joined: Fri Apr 24, 2009 2:41 am

Re: Live 9 MIDI Remote Scripts revealed...

Post by willrjmarshall » Thu Mar 07, 2013 5:07 am

Do you know how to force Ableton 9 to reload MIDI Remote Scripts without restarting?

Early versions of the beta and Live 8 would reload scripts every time they were deselected and reselected. Now you have to restart. Very tedious.

julienb
Posts: 1815
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: Live 9 MIDI Remote Scripts revealed...

Post by julienb » Thu Mar 07, 2013 5:44 am

Digging...

No i didn't find a way (yet)
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

SBRK
Posts: 81
Joined: Tue Feb 08, 2011 3:26 pm
Location: Paris, France
Contact:

Re: Live 9 MIDI Remote Scripts revealed...

Post by SBRK » Thu Mar 07, 2013 12:31 pm

What is the difference between song.tracks and song.visible_tracks ? I noticed that in the MackieControl script, every occurence of song.tracks was replaced by song.visible_tracks.

Coupe70
Posts: 1099
Joined: Fri Jul 23, 2004 7:25 am
Location: Mainz / Germany
Contact:

Re: Live 9 MIDI Remote Scripts revealed...

Post by Coupe70 » Thu Mar 07, 2013 12:53 pm

#1thelark wrote:someone hand this over to stray, hanz & co.
:lol:
Stray already released a new version of ClyphX covering all
new Live 9 features ! :)
Phongemeinschaft (Live-ElectroJazz / NuJazz)
Homepage - youtube - Like! :-)
Live 9 (32Bit), HP DV7, i5 2,53GHz, 8 GB RAM, Win7 (64Bit)

julienb
Posts: 1815
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: Live 9 MIDI Remote Scripts revealed...

Post by julienb » Thu Mar 07, 2013 12:57 pm

Some guys believe it is a race.
Obviously, I don't run into it.

Just hope to be helpful for some.
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

f.poce@tiscali.nl
Posts: 103
Joined: Sun Mar 21, 2010 4:14 pm

Re: Live 9 MIDI Remote Scripts revealed...

Post by f.poce@tiscali.nl » Thu Mar 07, 2013 1:19 pm

To whom it may concern, I posted an updated version of Hanz Petrov's APC_64_40 compatible with Live 9 (new surface name "APC_64_40_9").
Please be aware this version works only with Live 9 as it makes use of the new _Framework. It does not work in Live 8 (the original does).

You can find it here as a free download: http://www.fabriziopoce.com/download.html

PS: Hanz knows about this update.

Cheers
Fabrizio
Last edited by f.poce@tiscali.nl on Thu Mar 07, 2013 1:23 pm, edited 1 time in total.

mynp
Posts: 4
Joined: Wed Mar 06, 2013 3:49 pm

Re: Live 9 MIDI Remote Scripts revealed...

Post by mynp » Thu Mar 07, 2013 1:21 pm

hello Julien
I've tried the uncompiled script for push (naming the folder downloaded from gitHub "Pushmod" and pasting it in the remote midi script folder) but it doesn't work.
I'm on a 10.6.8 MAC OSX
here is an extract of the log file:

Code: Select all

31363 ms. RemoteScriptError: Traceback (most recent call last):

31363 ms. RemoteScriptError:   File "<string>", line 1, in <module>

31364 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/__init__.py", line 2, in <module>

31364 ms. RemoteScriptError:     
31364 ms. RemoteScriptError: from Push import Push

31364 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/Push.py", line 24, in <module>

31364 ms. RemoteScriptError:     
31364 ms. RemoteScriptError: from ConfigurableButtonElement import ConfigurableButtonElement

31364 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/ConfigurableButtonElement.py", line 3, in <module>

31364 ms. RemoteScriptError:     
31364 ms. RemoteScriptError: from Skin import Skin, SkinColorMissingError

31364 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/Skin.py", line 2, in <module>

31364 ms. RemoteScriptError:     
31364 ms. RemoteScriptError: import SkinDefault

31364 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/SkinDefault.py", line 4, in <module>

31365 ms. RemoteScriptError:     
31365 ms. RemoteScriptError: class Colors:

31365 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/SkinDefault.py", line 49, in Colors

31365 ms. RemoteScriptError:     
31365 ms. RemoteScriptError: class Session:

31365 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/SkinDefault.py", line 54, in Session

31365 ms. RemoteScriptError:     
31365 ms. RemoteScriptError: ClipStarted = Pulse(Rgb.GREEN.shade(1), Rgb.GREEN, 48)

31365 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/Colors.py", line 53, in shade

31365 ms. RemoteScriptError:     
31365 ms. RemoteScriptError: raise shade_level > 0 and shade_level <= 2 or AssertionError

31365 ms. RemoteScriptError: TypeError
31366 ms. RemoteScriptError: : 
31366 ms. RemoteScriptError: exceptions must be classes, instances, or strings (deprecated), not bool
31366 ms. RemoteScriptError: 

31366 ms. Exception: Traceback (most recent call last):   File "<string>", line 1, in <module>   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/__init__.py", line 2, in <module>     from Push import Push   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/Push.py", line 24, in <module>     from ConfigurableButtonElement import ConfigurableButtonElement   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/ConfigurableButtonElement.py", line 3, in <module>     from Skin import Skin, SkinColorMissingError   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/Skin.py", line 2, in <module>     import SkinDefault   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/SkinDefault.py", line 4, in <module>     class Colors:   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/SkinDefault.py", line 49, in Colors     class Session:   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/SkinDefault.py", line 54, in Session     ClipStarted = Pulse(Rgb.GREEN.shade(1), Rgb.GREEN, 48)   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/Colors.py", line 53, in shade     raise shade_level > 0 and shade_level <= 2 or AssertionError TypeError: exceptions must be classes, instances, or strings (deprecated), not bool 
31366 ms. Exception: Stack trace format version: 1 (Mac)
31366 ms. Exception: === Begin stack trace (pc:fn) ===
31366 ms. Exception: 0x006d6696:0x00000000
31366 ms. Exception: 0x0066dab0:0x00000000
31366 ms. Exception: 0x0066db64:0x00000000
31367 ms. Exception: 0x015ebfc3:0x00000000
31367 ms. Exception: 0x015ec913:0x00000000
31367 ms. Exception: 0x01362843:0x00000000
31367 ms. Exception: 0x01362aa8:0x00000000
31367 ms. Exception: 0x01362518:0x00000000
31367 ms. Exception: 0x00510b81:0x00000000
31367 ms. Exception: 0x00533c61:0x00000000
31367 ms. Exception: 0x0101203e:0x00000000
31367 ms. Exception: 0x01009c8f:0x00000000
31367 ms. Exception: 0x0100686b:0x00000000
31367 ms. Exception: 0x0050fa6a:0x00000000
31367 ms. Exception: 0x0051a1c7:0x00000000
31367 ms. Exception: 0x0050e9e8:0x00000000
31367 ms. Exception: 0x0050e283:0x00000000
31367 ms. Exception: 0x018979fe:0x00000000
31368 ms. Exception: 0x018956c2:0x00000000
31368 ms. Exception: 0x018f144b:0x00000000
31368 ms. Exception: 0x01a8de66:0x00000000
31368 ms. Exception: 0x01a92ef6:0x00000000
31368 ms. Exception: 0x01926cd3:0x00000000
31372 ms. Exception: 0x01926dce:0x00000000
31372 ms. Exception: 0x01931005:0x00000000
31372 ms. Exception: 0x9454aa54:0x00000000
31372 ms. Exception: 0x94463607:0x00000000
31372 ms. Exception: 0x0192befd:0x00000000
31373 ms. Exception: 0x943f724f:0x00000000
31373 ms. Exception: 0x01928580:0x00000000
31373 ms. Exception: 0x01921e50:0x00000000
31373 ms. Exception: 0x00003112:0x00000000
31373 ms. Exception: === End stack trace ===
55961 ms. SeratoIPC: Outgoing path de-authenticated

julienb
Posts: 1815
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: Live 9 MIDI Remote Scripts revealed...

Post by julienb » Thu Mar 07, 2013 1:31 pm

mynp wrote:hello Julien
I've tried the uncompiled script for push (naming the folder downloaded from gitHub "Pushmod" and pasting it in the remote midi script folder) but it doesn't work.
I'm on a 10.6.8 MAC OSX
here is an extract of the log file:

Code: Select all

31363 ms. RemoteScriptError: Traceback (most recent call last):

31363 ms. RemoteScriptError:   File "<string>", line 1, in <module>

31364 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/__init__.py", line 2, in <module>

31364 ms. RemoteScriptError:     
31364 ms. RemoteScriptError: from Push import Push

31364 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/Push.py", line 24, in <module>

31364 ms. RemoteScriptError:     
31364 ms. RemoteScriptError: from ConfigurableButtonElement import ConfigurableButtonElement

31364 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/ConfigurableButtonElement.py", line 3, in <module>

31364 ms. RemoteScriptError:     
31364 ms. RemoteScriptError: from Skin import Skin, SkinColorMissingError

31364 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/Skin.py", line 2, in <module>

31364 ms. RemoteScriptError:     
31364 ms. RemoteScriptError: import SkinDefault

31364 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/SkinDefault.py", line 4, in <module>

31365 ms. RemoteScriptError:     
31365 ms. RemoteScriptError: class Colors:

31365 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/SkinDefault.py", line 49, in Colors

31365 ms. RemoteScriptError:     
31365 ms. RemoteScriptError: class Session:

31365 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/SkinDefault.py", line 54, in Session

31365 ms. RemoteScriptError:     
31365 ms. RemoteScriptError: ClipStarted = Pulse(Rgb.GREEN.shade(1), Rgb.GREEN, 48)

31365 ms. RemoteScriptError:   File "MIDI Remote Scripts/Pushmod/Colors.py", line 53, in shade

31365 ms. RemoteScriptError:     
31365 ms. RemoteScriptError: raise shade_level > 0 and shade_level <= 2 or AssertionError

31365 ms. RemoteScriptError: TypeError
31366 ms. RemoteScriptError: : 
31366 ms. RemoteScriptError: exceptions must be classes, instances, or strings (deprecated), not bool
31366 ms. RemoteScriptError: 

31366 ms. Exception: Traceback (most recent call last):   File "<string>", line 1, in <module>   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/__init__.py", line 2, in <module>     from Push import Push   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/Push.py", line 24, in <module>     from ConfigurableButtonElement import ConfigurableButtonElement   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/ConfigurableButtonElement.py", line 3, in <module>     from Skin import Skin, SkinColorMissingError   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/Skin.py", line 2, in <module>     import SkinDefault   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/SkinDefault.py", line 4, in <module>     class Colors:   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/SkinDefault.py", line 49, in Colors     class Session:   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/SkinDefault.py", line 54, in Session     ClipStarted = Pulse(Rgb.GREEN.shade(1), Rgb.GREEN, 48)   File "/Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/Pushmod/Colors.py", line 53, in shade     raise shade_level > 0 and shade_level <= 2 or AssertionError TypeError: exceptions must be classes, instances, or strings (deprecated), not bool 
31366 ms. Exception: Stack trace format version: 1 (Mac)
31366 ms. Exception: === Begin stack trace (pc:fn) ===
31366 ms. Exception: 0x006d6696:0x00000000
31366 ms. Exception: 0x0066dab0:0x00000000
31366 ms. Exception: 0x0066db64:0x00000000
31367 ms. Exception: 0x015ebfc3:0x00000000
31367 ms. Exception: 0x015ec913:0x00000000
31367 ms. Exception: 0x01362843:0x00000000
31367 ms. Exception: 0x01362aa8:0x00000000
31367 ms. Exception: 0x01362518:0x00000000
31367 ms. Exception: 0x00510b81:0x00000000
31367 ms. Exception: 0x00533c61:0x00000000
31367 ms. Exception: 0x0101203e:0x00000000
31367 ms. Exception: 0x01009c8f:0x00000000
31367 ms. Exception: 0x0100686b:0x00000000
31367 ms. Exception: 0x0050fa6a:0x00000000
31367 ms. Exception: 0x0051a1c7:0x00000000
31367 ms. Exception: 0x0050e9e8:0x00000000
31367 ms. Exception: 0x0050e283:0x00000000
31367 ms. Exception: 0x018979fe:0x00000000
31368 ms. Exception: 0x018956c2:0x00000000
31368 ms. Exception: 0x018f144b:0x00000000
31368 ms. Exception: 0x01a8de66:0x00000000
31368 ms. Exception: 0x01a92ef6:0x00000000
31368 ms. Exception: 0x01926cd3:0x00000000
31372 ms. Exception: 0x01926dce:0x00000000
31372 ms. Exception: 0x01931005:0x00000000
31372 ms. Exception: 0x9454aa54:0x00000000
31372 ms. Exception: 0x94463607:0x00000000
31372 ms. Exception: 0x0192befd:0x00000000
31373 ms. Exception: 0x943f724f:0x00000000
31373 ms. Exception: 0x01928580:0x00000000
31373 ms. Exception: 0x01921e50:0x00000000
31373 ms. Exception: 0x00003112:0x00000000
31373 ms. Exception: === End stack trace ===
55961 ms. SeratoIPC: Outgoing path de-authenticated
I should use the same folder name and more rename PushOld and use Push as the test running one.
I did that only and that works.

Let me know ..
Julien Bayle
____________________________________________________________________________________________________

art + teaching/consulting
ableton certified trainer
____________________________________________________________________________________________________

Post Reply