Page 1 of 1

question for developers (scripting in python)

Posted: Tue Nov 23, 2004 10:04 am
by BenjaminGolinvaux
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

Posted: Tue Nov 23, 2004 3:05 pm
by sqook
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.

Posted: Tue Nov 23, 2004 7:00 pm
by bencodec
have a look at supercollider. it'll be your best friend.

Posted: Tue Nov 23, 2004 7:24 pm
by ryansupak
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

Posted: Tue Nov 23, 2004 8:08 pm
by sqook
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..

Posted: Tue Nov 23, 2004 8:16 pm
by noisetonepause
Ruby: One Scripting Language To Rule Them All!!

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

-Paws

Posted: Wed Nov 24, 2004 10:41 am
by BenjaminGolinvaux
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.