Using Python and Csound -- a newb question
Date | 2016-05-31 20:34 |
From | Brian Merchant |
Subject | Using Python and Csound -- a newb question |
Hi all, Instead of writing in the Csound language, I want to write in the Python language -- that is, execute a python script, which calls the Csound backend and thus produces sounds. Does it make sense to use Python with Csound in this way? If yes, are there already such Python implementations, or would I have to make one? Kind regards, Brian |
Date | 2016-05-31 21:04 |
From | Richard |
Subject | Re: Using Python and Csound -- a newb question |
Hi Brian, That makes a lot of sense. In this article I explain how to use
Python to create sounds and scores with Csound in Blue. http://csoundjournal.com/issue19/python_in_blue.html There is also a pure Python solution (without Csound), that is called Pyo....but Csound has a lot more to offer.
On 31/05/16 21:34, Brian Merchant
wrote:
|
Date | 2016-05-31 21:05 |
From | Linda Antas |
Subject | Re: Using Python and Csound -- a newb question |
Hey Brian, Check out Chapter 12 of the Floss manual: Here's a video I saved and haven't watched yet. Perhaps outdated, list? https://www.youtube.com/watch?v=avsxCZNHEwM~L. On Tue, May 31, 2016 at 1:34 PM, Brian Merchant <bhmerchant@gmail.com> wrote:
|
Date | 2016-05-31 21:55 |
From | Richard |
Subject | Re: Using Python and Csound -- a newb question |
These video's are quite good and mysterious! I've never seen
them. Whoever is behind them did a good job at hiding his/her
identity... Amazing. Richard On 31/05/16 22:05, Linda Antas wrote:
|
Date | 2016-05-31 22:03 |
From | Olivier Bélanger |
Subject | Re: Using Python and Csound -- a newb question |
Hi, Pyo does not have as many objects as there is csound opcodes (though it's quite complete) but you can write much more natural and dynamic python code with it! Olivier On Tue, May 31, 2016 at 4:04 PM, Richard |
Date | 2016-06-01 19:37 |
From | Brian Merchant |
Subject | Re: Using Python and Csound -- a newb question |
Hi Olivier, Why did you decide to develop Pyo instead of building a Python wrapper around Csound?(thanks for the other Python related links, list! I have to digest them now) On Tue, May 31, 2016 at 2:03 PM, Olivier Bélanger <belangeo@gmail.com> wrote: Hi, |
Date | 2016-06-01 20:32 |
From | Olivier Bélanger |
Subject | Re: Using Python and Csound -- a newb question |
Hi Brian, I did! I wrote Ounk before pyo. It's not a truly a python wrapper but a scripting environment for music composition. https://code.google.com/archive/p/ounk/ I begin to develop pyo because I needed a native audio engine (sharing the same syntax, OOP paradigm, etc.) for my python apps. Ounk did not use the api and last time I checked, it still works! Olivier On Wed, Jun 1, 2016 at 2:37 PM, Brian Merchant |