Page 28 of 28

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Wed Jan 16, 2013 7:18 pm
by iainduncan
I saw a response in this thread that copied what sure looks like a Python interactive interpreter talking to the API and introspecting it. Can anyone tell me how this was accomplished? I seemingly can't just drop into pdb from a script, but I would LOVE to be in an interactive interprete.

Thanks!
iain

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Thu Jan 17, 2013 10:32 pm
by ST8
iainduncan wrote:I saw a response in this thread that copied what sure looks like a Python interactive interpreter talking to the API and introspecting it. Can anyone tell me how this was accomplished? I seemingly can't just drop into pdb from a script, but I would LOVE to be in an interactive interprete.

Thanks!
iain
What you're looking for is LiveTelnet, heres an updated getting started tutorial for it:
http://blog.fluffypattern.ch/?p=226

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Fri Jan 18, 2013 2:08 am
by iainduncan
Awesome, thanks so much!

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Wed Mar 06, 2013 2:09 pm
by julienb
Some work made on my spare time:
http://julienbayle.net/ableton-live-9-m ... te-scripts

It works for Live 9.
I have also decompiled Push scripts.

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Mon Mar 11, 2013 10:02 am
by hoffman2k
julienb wrote:Some work made on my spare time:
http://julienbayle.net/ableton-live-9-m ... te-scripts

It works for Live 9.
I have also decompiled Push scripts.
You still have spare time?
Hey Julien, can I borrow a cup of sugar and Push? :D

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Mon Mar 11, 2013 10:27 am
by julienb
hoffman2k wrote:
julienb wrote:Some work made on my spare time:
http://julienbayle.net/ableton-live-9-m ... te-scripts

It works for Live 9.
I have also decompiled Push scripts.
You still have spare time?
Hey Julien, can I borrow a cup of sugar and Push? :D
:D

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Mon Mar 11, 2013 12:44 pm
by 3dot...
great work Julien.. going to dive into this when I have the time..
thanks so much for sharing your work

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Mon Mar 11, 2013 5:33 pm
by julienb
3dot... wrote:great work Julien.. going to dive into this when I have the time..
thanks so much for sharing your work
let me know your explorations too :)
I'm interested !

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Tue Dec 27, 2016 1:10 pm
by NSU_Spray
julienb wrote:Some work made on my spare time:
http://julienbayle.net/ableton-live-9-m ... te-scripts
(: I’m making some work in my spare time too:

Live API actively expands. Documentation which laid out by Hanz Petrov (API_MakeDoc) becomes too cumbersome. It is difficult to search, to compare different versions, to understand what features are added, that has changed.

I spent the time and has made more advanced design of this unofficial documentation:

https://nsuspray.github.io/Live_API_Doc/

I have tried to simplify the search and navigation, to make design more accessible. It has a function of comparing different versions with independent displaying additions, changes, matches. I think you will understand.

Image

Image

Image

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Tue Dec 27, 2016 2:27 pm
by Angstrom
Very nice!

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Wed Dec 28, 2016 5:05 am
by eclipxe
This is great thank you!

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Mon Jan 09, 2017 2:33 pm
by stutter
THanks NSU_Spray, good stuff

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Sun Apr 03, 2022 7:10 pm
by RobrechtV
Hello,

I don't know if this is a good place to ask but there seems to be a lot of Python/Live knowledge in this thread!

I was wondering if there is a way to simply save the current song using Python. I haven't found it in the Live APIs posted here, but you never know!

Context: I would like to add a "save" button to my control surface' remote control script. Ideally, the button would light up as soon as there are unsaved changes, so a listener for the current saved/unsaved state would be useful too.

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Sun Jul 17, 2022 3:07 pm
by enteleform
julienb wrote: ↑
Mon Mar 11, 2013 10:27 am
Some work made on my spare time:
http://julienbayle.net/ableton-live-9-m ... te-scripts
NSU_Spray wrote: ↑
Tue Dec 27, 2016 1:10 pm
(: I’m making some work in my spare time too:
https://nsuspray.github.io/Live_API_Doc/
Thanks for sharing these resources šŸ™. They have been extremely helpful in navigating the treacherous waters of the Ableton API ā›ˆļøšŸš¢ā›ˆļø

I just managed to get a Python typings generation system for the Live API mostly functional, here's a video demoing IntelliSense completions and Go to Definition functionality:
Image

The types aren't 100% complete, I was able to convert the function signatures pretty thoroughly, but there are a lot of <class 'property'>, etc. types that I had to use Any for. I ended up generating a map of every object path so that I can override value types, return types, and arg types manually if necessary, and filled in the parts of the API that I'll be using most immediately. I'm also going to try setting up an Ableton Set that has most entities available, so that I can try to do a crawl of instantiated classes and get the actual types.

Lmk if this seems interesting/helpful to anyone!

I also posted a bit more about my development setup here:
https://github.com/gluon/AbletonLive9_R ... 1185792347

I'd love to hear about anyone else's personal workflows/systems/etc.!

Re: Who wants access to Ableton's Python API? .. You? .. Ok!

Posted: Sat Aug 05, 2023 12:02 pm
by abzi
Hey guys,
I am currently looking for someone that can modify a existing MIDI remote script,
and am willing to compensate the person appropriately for the time spend.
If anyone here is interested, please send a PM.

Best regards

Markus