Csound Csound-dev Csound-tekno Search About

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

Date2009-03-05 22:15
Fromvictor
Subject[Csnd] Re: Re: Re: Python script to embed csd's for OLPC
Tkinter is not on OLPC. You'll need PyGTK, but
best to follow the activities framework (ie. sugar) as
explained in the link.
----- Original Message ----- 
From: "Michael Gogins" 
To: 
Sent: Thursday, March 05, 2009 9:31 PM
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
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2009-03-05 22:28
FromBrian Redfern
Subject[Csnd] Re: Re: Re: Re: Python script to embed csd's for OLPC
Yeah I need to do a part II to my OLPC article to talk about how to install applications. My demo application from part 1 runs from the command line, but I need to write a part 2 where I explain how to turn it into a full blown sugar application.

On Thu, Mar 5, 2009 at 2:15 PM, victor <Victor.Lazzarini@nuim.ie> wrote:
Tkinter is not on OLPC. You'll need PyGTK, but
best to follow the activities framework (ie. sugar) as
explained in the link.
----- Original Message ----- From: "Michael Gogins" <michael.gogins@gmail.com> Sent: Thursday, March 05, 2009 9:31 PM
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 <Victor.Lazzarini@nuim.ie> wrote:
See:

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

Victor
----- Original Message ----- From: "Art Hunkins" <abhunkin@uncg.edu>
To: <csound@lists.bath.ac.uk>
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


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"