Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Python script to embed csd's for OLPC

Date2009-03-05 21:23
Fromvictor
Subject[Csnd] Re: Python script to embed csd's for OLPC
See:

http://wiki.laptop.org/go/Csndsugui

Victor
----- Original Message ----- 
From: "Art Hunkins" 
To: 
Sent: Thursday, March 05, 2009 9:12 PM
Subject: [Csnd] Python script to embed csd's for OLPC


> Since Python opcodes are absent from OLPCsound, I'd like to try embedding 
> csd's in a Python script. My thought is to have an opening Python 
> "initialization dialog" allowing the performer to set initialization 
> values (accessed via chnget), then embark on real-time performance. No 
> performance-time interaction. The run concludes as usual with Ctrl-C.
>
> Can someone point me to a Csound .py script that does just this? (I'm 
> thinking that such a dialog could well substitute for a "setup GUI", and 
> would not require other software, such as the csndsugui activity, to be 
> downloaded.)
>
> Art Hunkins
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2009-03-05 21:31
FromMichael Gogins
Subject[Csnd] Re: Re: Python script to embed csd's for OLPC
Look in the csound/examples directory. Most of the .py files there
embed .csd's. Some use GUIs, some do not. Some of the ones that use
GUIs use the Tk GUI toolkit that comes with Python - see drone.py,
which I think does most of what you are looking for.

Hope this helps,
Mike

On Thu, Mar 5, 2009 at 4:23 PM, victor  wrote:
> See:
>
> http://wiki.laptop.org/go/Csndsugui
>
> Victor
> ----- Original Message ----- From: "Art Hunkins" 
> To: 
> Sent: Thursday, March 05, 2009 9:12 PM
> Subject: [Csnd] Python script to embed csd's for OLPC
>
>
>> Since Python opcodes are absent from OLPCsound, I'd like to try embedding
>> csd's in a Python script. My thought is to have an opening Python
>> "initialization dialog" allowing the performer to set initialization values
>> (accessed via chnget), then embark on real-time performance. No
>> performance-time interaction. The run concludes as usual with Ctrl-C.
>>
>> Can someone point me to a Csound .py script that does just this? (I'm
>> thinking that such a dialog could well substitute for a "setup GUI", and
>> would not require other software, such as the csndsugui activity, to be
>> downloaded.)
>>
>> Art Hunkins
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>



-- 
Michael Gogins
Irreducible Productions
Michael dot Gogins at gmail dot com