sonify.net.au

 









introduction

installing

importing

help()

csd perform

(under construction)

Introduction to using csnd: the Python wrapper for csound
 

Csound is a mature open-source sound-synthesis software in the musicN mould. It is available for virtually all platforms and operating systems. See the csounds website for further details and latest downloads. Version 5 was a major rebuild and recently the developers have made csound available as a library, accessible through various application program interfaces (APIs) such as Python.

The purpose of these pages is to provide an introduction to using csnd as an extension to Python. It assumes users have a working knowledge of Csound using either a CLI or other means and python. 

The platforms on which the code here has been tested are indicated at the top of each example. The tutorial listed are roughly progressional. It is strongly recommended that in your initial experiments, you

1. Turn the graphics routines off: use the -g command-line option, and

2. Instantiate python from the command-line, and then importing the .py file:

% python
>>> import xyz

There are know problems to do with using IDLE, the standard python IDE, with graphical output. If you like to use an editor which colour-codes python metawords, I can recommend VIM (VI iMproved).

If you test an example using computing configuration not mentioned on the page, please report your findings to csound@lists.bath.ac.uk in the first instance.

Why Python? For an introduction to Python including downloads, see the python pages of the Sonipy website, which also has some recommended tutorial materials.

Check out SoniPy
public domain data sonification software framework on Sourceforge

contact: sonify  'at' avatar.com.au                          last updated: 2007.11.03