Csound Csound-dev Csound-tekno Search About

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

Date2009-03-06 01:17
From"Art Hunkins"
Subject[Csnd] Re: Re: Re: Re: Re: Python script to embed csd's for OLPC
Hi, Brian and Victor,
 
Thanks both for the info; and Brian, I'm looking forward to that article. Eventually, I'd like to try some full-blown Applications.
 
Meanwhile, I'm just trying to get Brian's demo application to run on my OLPC. Right now, his .py and .csd files are on my thumb drive plugged into the OLPC. There, they can't find csndsugui.
 
Can you please tell me where I need to copy them, and the appropriate command line to do so? (The directory structure of the OLPC is still quite a mystery to me. I presume the files may need to be copied to the csndsugui directory and run from there?)
 
Thanks much -
 
Art Hunkins
----- Original Message -----
Sent: Thursday, March 05, 2009 5:28 PM
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"