question for developers (scripting in python)

Discuss music production with Ableton Live.
Post Reply
BenjaminGolinvaux
Posts: 13
Joined: Fri Aug 13, 2004 7:49 pm
Location: Belgium
Contact:

question for developers (scripting in python)

Post by BenjaminGolinvaux » Tue Nov 23, 2004 10:04 am

hi
a quick question for Live developers
how would you rate the idea of exposing your object model (at least the one running in the GUI thread) in python (for instance) in order for users to automate tasks (random beat slicing, automated track exports, and lots of other amazing things.. etc..) ?

A) it would be nice but takes some time
B) we are not interested in scripting
C) we are using that for our internal testing and consider
releasing it soon :)

if answer was A, you should definitely check boost::python

thanks and sorry for the strange question

benjamin golinvaux

sqook
Posts: 2430
Joined: Mon Oct 04, 2004 8:14 pm
Location: Sweden
Contact:

Post by sqook » Tue Nov 23, 2004 3:05 pm

ugh, python? I don't mean to troll, but couldn't you have picked a language that's a little more on the speedy side? Live is one application where every spare CPU cycle counts...

Anyways, interesting idea, even though I'd prefer to see ableton simply release a c++ api if they were to do such a thing.

bencodec
Posts: 330
Joined: Fri Jun 11, 2004 5:14 pm
Location: Brooklyn

Post by bencodec » Tue Nov 23, 2004 7:00 pm

have a look at supercollider. it'll be your best friend.

ryansupak
Posts: 429
Joined: Wed Aug 18, 2004 7:23 pm

Post by ryansupak » Tue Nov 23, 2004 7:24 pm

yeah, it would be great to use some kind of scripting language to automate non-realtime tasks. (if the tasks were non-realtime, then speed obviously wouldn't be so crucial.)

i'm actually looking at some kind of .NET keystroke engine right now to automate repetitive rendering tasks, i imagine most languages have something similar:

http://www.codeguru.com/Cpp/misc/misc/a ... php/c3743/

rs

sqook
Posts: 2430
Joined: Mon Oct 04, 2004 8:14 pm
Location: Sweden
Contact:

Post by sqook » Tue Nov 23, 2004 8:08 pm

ryansupak wrote:yeah, it would be great to use some kind of scripting language to automate non-realtime tasks. (if the tasks were non-realtime, then speed obviously wouldn't be so crucial.)

i'm actually looking at some kind of .NET keystroke engine right now to automate repetitive rendering tasks, i imagine most languages have something similar:

http://www.codeguru.com/Cpp/misc/misc/a ... php/c3743/

rs
This idea has a lot of potential.... something like this would be a great tool to give you an extra hand or two when playing live.

I know c# pretty well, too (not by choice, mind you!). As long as you could write an app to stay away from winforms, it's pretty cross-platform with decent speed. I'll have to bookmark this..

noisetonepause
Posts: 4938
Joined: Sat Dec 28, 2002 3:38 pm
Location: Sticks and stones

Post by noisetonepause » Tue Nov 23, 2004 8:16 pm

Ruby: One Scripting Language To Rule Them All!!

I agree. This'd be good... even if my coding is cack!

-Paws

BenjaminGolinvaux
Posts: 13
Joined: Fri Aug 13, 2004 7:49 pm
Location: Belgium
Contact:

Post by BenjaminGolinvaux » Wed Nov 24, 2004 10:41 am

bencodec:

SuperCollider is already one of my best friends
(i'm the maintainer of SC for Windows :) )

However, the reason i bought live and want to be able
to script it is exactly because i don't want to spend lots
of time rewriting it in SC.

Also, SC is very powerful for patch design, but the
general framework for the "upper layer" is not really
suitable (imho) to build a Live clone.

On the other hand, I am VERY happy with SC as a sound
design tool.

Post Reply