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

Discuss music production with Ableton Live.
morerecords

Post by morerecords » Tue Feb 05, 2008 6:02 pm

Hmm.. Sounds like my time would be better spent making music (I would have such steep learning curve to egt to this level of computer 'dabbling' I'd prob never make another record again!)
many thanks
-MR

Angstrom
Posts: 14987
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Post by Angstrom » Tue Feb 05, 2008 6:06 pm

morerecords wrote:Hmm.. Sounds like my time would be better spent making music (I would have such steep learning curve to egt to this level of computer 'dabbling' I'd prob never make another record again!)
many thanks
-MR
exactly, it's not for everyone - in fact I have not done much with it because my day job involves a lot of code/script so I can't really be bothered letting it get in the way of music making.

3dot...
Posts: 9996
Joined: Tue Feb 20, 2007 11:10 pm

Post by 3dot... » Tue Feb 05, 2008 10:41 pm

...Waiting on that day Angstrom...
Image

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

Post by julienb » Tue Mar 04, 2008 6:43 pm

who works on it (yet) ?
I do and I have some problems with callbacks: I need to create callbacks with functions already made in LiveUtils.py ... as I change one things in LLiveOSCCallbacks.py a beautiful error appears !

yeah
Julien Bayle
Art + Teaching/Consulting

Ableton Certified Trainer
Max Certified Trainer


Structure Void / Ableton Certified Training Center

queglay
Posts: 522
Joined: Wed May 03, 2006 7:15 am

Post by queglay » Tue Mar 04, 2008 10:21 pm

so here is an unoficial release from me of the api. i had to change a few things to get some of the osc functionaily to work for me. all i've done is alter some of the functionality for returning live clip and scene names via osc. i can't remember everything i did, but with the clip name callback i first created a conditional statement that checks if a clip is in the cell. if there isn't it returns empty for that cell destination. also all text strings are converted using str().

these are all the files i needed to alter to get it working for me. i also altered the instructrions a little to explain what i did to get it working.
http://www.theoriginalqueg.com/forum/Li ... 060208.rar

please read the instructions included very carefully.

i also included a max test patch for those familiar with it for testing purposes.

just remember though, because i got it working, it doesn't mean its going to work for you guys too.

This is not an official release from nathan's project. but when i downloaded the files as is from hise google code site they didn't work for me for the reasons that i modified them here.

please don't send me private messages if you can't get this to work. use the forum. not only am i really busy and wont respond, at least this way theres a record of how people are solving their problems.

it would be great if there was some free forum someone could create where we can all deal with this one. its a shame the original liveapi forum never got replaced. makes it that much harder to solve things.

good luck with it!
Load VST Presets from Push's Browser!
http://www.audiomodder.com

mdk
Posts: 914
Joined: Sun Jul 31, 2005 3:51 pm
Location: Skopje, Macedonia
Contact:

Post by mdk » Tue Mar 18, 2008 5:28 pm

Hi Andrew, dont know if you noticed but there is now a google group for discussing LiveAPI related stuff.

http://groups.google.com/group/liveapi

I also created a 'space' here :

http://www.assembla.com/wiki/show/live-api

Which now houses the LiveAPI source code. I integrated your changes into the source and also added your max test patch.

:)
Pr0k Records - Bandcamp Facebook Twitter

queglay
Posts: 522
Joined: Wed May 03, 2006 7:15 am

Post by queglay » Tue Mar 18, 2008 10:34 pm

ahh ok cool. thanks man. good work!
Load VST Presets from Push's Browser!
http://www.audiomodder.com

nbinder
Posts: 867
Joined: Tue Apr 29, 2008 1:47 pm

Post by nbinder » Tue Apr 29, 2008 2:23 pm

Does anyone know about the status on OSX? There is a new file on the google code page for OSX, but it doesn't work here.

More about it: (stderr.log)

ImportError: No module named posixpath

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

Post by julienb » Tue Apr 29, 2008 2:54 pm

nbinder wrote:Does anyone know about the status on OSX? There is a new file on the google code page for OSX, but it doesn't work here.

More about it: (stderr.log)

ImportError: No module named posixpath
ask a question on : http://groups.google.com/group/liveapi
Julien Bayle
Art + Teaching/Consulting

Ableton Certified Trainer
Max Certified Trainer


Structure Void / Ableton Certified Training Center

nbinder
Posts: 867
Joined: Tue Apr 29, 2008 1:47 pm

Post by nbinder » Tue Apr 29, 2008 3:19 pm

I did, too ;)

I am a bit confused which forum is really used. There's much more activity here...

I am not so much into python and don't understand why it wont find the module, even though

'/Applications/Live 7.0.5 OS X/Live.app/Contents/App-Resources/MIDI Remote Scripts/_LiveAPICore/python22/'

is in the sys.path.

And there you have..... posixpath :?

nbinder
Posts: 867
Joined: Tue Apr 29, 2008 1:47 pm

Post by nbinder » Mon Jun 02, 2008 3:42 pm

Does anybody here get clip names from Live using OSX? Still LiveOSC doesn't work on OSX and APIMIDI doesn't work (for me... don't know what I could be doing wrong).

So... am I the only one trying to get clip names on OSX? :cry:

8O
Posts: 5502
Joined: Fri Mar 28, 2008 9:29 am
Location: Berlin

Post by 8O » Mon Jun 02, 2008 3:48 pm

nbinder - you're not alone. I want it/need it on OS X too...
Image

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

Post by julienb » Mon Jun 02, 2008 3:56 pm

let's pray all of us for a quick information from ableton... we can dream yet :evil:
Julien Bayle
Art + Teaching/Consulting

Ableton Certified Trainer
Max Certified Trainer


Structure Void / Ableton Certified Training Center

hoffman2k
Posts: 14718
Joined: Tue Jun 15, 2004 6:40 pm
Location: Belgium
Contact:

Post by hoffman2k » Mon Jun 02, 2008 4:07 pm

I got this working on osx. Just install "APImidi Demo 6".

Its the sysex version though. Livetelnet and LiveOSC crash for me too.

nbinder
Posts: 867
Joined: Tue Apr 29, 2008 1:47 pm

Post by nbinder » Mon Jun 02, 2008 6:44 pm

I tried APIMIDI with the Pd files and was just getting nonsense data ("scene-e: 1 0 1 1 1 0 1 0", and this doesn't even match to the used clip slots).

Guess you tried it with Max/MSP?

The whole development seems to be stuck, I wrote several messages on the google code and the google groups pages, but no replies or any other activities...

I tried to help myself, as I am not the silly "give me everything and I'll still complain" guy, but could get very much closer since then.

Post Reply