[Csnd] Python and scores
Date | 2009-08-12 08:29 |
From | gary hiebner |
Subject | [Csnd] Python and scores |
I am still new to CSound. I have purchased the book, and am working through the first chapters to understand the syntax of CSound. I have also been looking through this list to get a better understanding of what CSound is capable of. Most of it is still gibberish to me. But it is starting to make a bit of sense. I have been reading about sers using Python and other application to assist in generating scores for your CSound instruments. Can you guys please explain this a bit more to me. Does it use a list and generate p-fileds for the scores? I am using a Mac with 10.5.7, CSound Lib 5.10, and QuteCSound. What python aplication should I be installing on my Mac to use these score generating features? Also can I use the Mac python that comes installed on the macine. Or do I have to use other Python installation for my Mac? |
Date | 2009-08-12 08:58 |
From | Tim Mortimer |
Subject | [Csnd] Re: Python and scores |
Python is a programming language, & as an inexperienced programmer (ie "a bit of csound") i found this book quite useful (not to mention cheap!) to get to grips with the basics. (Although this is a new edition im not familiar with...) http://www.amazon.com/Python-Visual-QuickStart-Guide-2nd/dp/0321585445/ref=sr_1_26?ie=UTF8&s=books&qid=1250063091&sr=1-26 This downloadable book also gave me another perspective on learning python programming basics http://www.greenteapress.com/thinkpython/thinkCSpy/ I dont have a mac, so cant really help you with the rest. I have used python mainly as a way to experiment with generating scores, sometimes with random generators contributing to values for p fields, sometimes to use python as a translator to convert my own custom score commands & conventions into csound .sco. I have also used it to edit & massage data for synthesis & resynthesis. (phase vocoding & from text file based ftables) at some point or another all these processes come down to reading, writing, & manipulating data from & for text files. This was the very first example that i was shown by michael gogins on this list, & one or 2 other bits of info & help was enough to keep me entertained for months. http://www.nabble.com/python---.sco---getting-started-to8442103.html#a8442103 ahh, those heady days ; ) This is obviously not a comprehensive overview, but as a fairly recent beginner who was sitting here watching the list for a moment i thought i may as well start by offering something useful gary hiebner-2 wrote: > > I am still new to CSound. I have purchased the book, and am working > through > the first chapters to understand the syntax of CSound. I have also been > looking through this list to get a better understanding of what CSound is > capable of. Most of it is still gibberish to me. But it is starting to > make > a bit of sense. > > I have been reading about sers using Python and other application to > assist > in generating scores for your CSound instruments. > > Can you guys please explain this a bit more to me. Does it use a list and > generate p-fileds for the scores? > > I am using a Mac with 10.5.7, CSound Lib 5.10, and QuteCSound. What python > aplication should I be installing on my Mac to use these score generating > features? Also can I use the Mac python that comes installed on the > macine. > Or do I have to use other Python installation for my Mac? > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > ----- http://www.timmortimer.net -- View this message in context: http://www.nabble.com/Python-and-scores-tp24931346p24931663.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2009-08-12 10:55 |
From | gary hiebner |
Subject | [Csnd] Re: Re: Python and scores |
Thanks Tim, Will check the book and link out On Wed, Aug 12, 2009 at 9:58 AM, Tim Mortimer <mortysrevenge@gmail.com> wrote:
|
Date | 2009-08-12 12:52 |
From | Andres Cabrera |
Subject | [Csnd] Re: Python and scores |
Hi, There are several ways you can use python. You can use it on its own to generate score files (or any type of file to be read by csound), you can use it to call the Csound API (use csound inside python), to create python programs which use csound, or you can use python inside csound using the python opcodes: http://www.csounds.com/manual/html/py.html http://www.csounds.com/manual/html/PythonOpcodesSyntax.html You can see my article con this here: http://www.csounds.com/journal/issue6/index.html Cheers, Andrés On Wed, Aug 12, 2009 at 2:29 AM, gary hiebner <garycsound@gmail.com> wrote: I am still new to CSound. I have purchased the book, and am working through the first chapters to understand the syntax of CSound. I have also been looking through this list to get a better understanding of what CSound is capable of. Most of it is still gibberish to me. But it is starting to make a bit of sense. -- Andrés |