Csound was originally developed by Barry Vercoe at the MIT Media Lab in 1985,1 based on his earlier system called Music 11, which in its turn followed the MUSIC-N model initiated by Max Mathews at Bell Labs. Csound development continued throughout the 1990s and 2000s, led by John Fitch at the University of Bath.
Many developers have contributed to Csound, most notably Istvan Varga, Gabriel Maldonado, Robin Whittle, Richard Karpen, Iain McCurdy, Michael Gogins, Matt Ingalls, Steven Yi, Richard Boulanger, Victor Lazzarini and Joachim Heintz. Developed over many years, it currently has nearly 1700 unit generators. One of its greatest strengths is that it is completely modular and extensible by the user.
Csound is closely related to the underlying language for the Structured Audio extensions to MPEG-4, SAOL.
Csound takes two specially formatted text files as input. The orchestra describes the nature of the instruments and the score describes notes and other parameters along a timeline. Csound processes the instructions in these files and renders an audio file or real-time audio stream as output.
The orchestra and score files may be unified into a single structured file using markup language tags (a CSD file with filename extension .csd). Here is a very simple example of a unified Csound data file which produces a wave file containing a one-second sine wave tone of 1 kHz at a sample rate of 96 kHz:
As with many other programming languages, writing long programs in Csound can be eased by using an integrated environment for editing, previewing, testing, and debugging. The one now officially supported is CsoundQt, and it has many features, such as automatic code insertion, integrated documentation browser, integrated widgets for graphically controlling parameters in realtime, plus a button for playing the code.
Version 5.01 was released on March 18, 2006 – 20 years after Csound's first release. Csound 5 is available in binary and source code for Linux, Microsoft Windows and Mac OS X from the SourceForge Csound project.2 It is much improved and expanded compared to the original software, effectively made into a software library with an API. A variety of front ends have been developed for it. In addition to the basic C API, there are also Python, Java, Lisp, Tcl and C++ among other bindings, like one from Haskell which allows control of Csound from a purely functional environment.
The use of plug-ins allows additional capabilities without modifications to the Csound code, as there is the possibility to write user-defined opcodes as extensions to the original language. LADSPA and DSSI are supported, but VST support has been removed.
Real-time performance through MIDI was added in the 1990s. Another addition was the support of FLTK widgets (graphical interface components with sliders, knobs, etc.) for controlling real-time audio, and integration of custom graphical interfaces written in Python.
The development of Csound 6 was led by John Fitch, Steven Yi and Victor Lazzarini. After its features were hashed out at the Csound Conference held in 2011 in Hanover, Csound 6 was released in July 2013 and made available on GitHub.3 Csound 6 is also available for Android. The major new features of Csound 6 include:
Currently only Csound score or note events can be generated in real time (as opposed to instruments, which are only definable at compile time, when csound first starts; in Csound 6 this limitation is removed). The set of sound processors is defined and compiled at load time, but the individual processing objects can be spawned or destroyed in real time, input audio processed in real time, and output generated also in real time. Note events can be triggered based on OSC communications within an instrument instance, spawned by MIDI, or entered to stdin (by typing into a terminal or sending textual statements from another program). The use of Csound 5 as a live performance tool can be augmented with a variety of third-party software. Live Event Sheet within CsoundQt can be used to modify the score in real-time. In addition, interfaces to other programming languages can be used to script Csound. A paper detailing the use of Csound with Qt or Pure Data in real-time musical synthesis was presented at the 2012 Linux Audio Conference 4 The Ounk project attempts to integrate Python with Csound while CsoundAC provides a way to do algorithmic composition from Python using Csound as backend. Audivation's Csound for Live packages various opcodes into Max/MSP wrappers suitable for use in Ableton Live.56 Csound is also available for mobile systems (iOS, Android).7
Csound5 was chosen to be the audio/music development system for the OLPC project on the XO-1 Laptop platform.8
Vail, Mark (2014). The Synthesizer. Oxford University Press. p. 102. ISBN 978-0195394894. 978-0195394894 ↩
"Csound | SourceForge.net". http://sourceforge.net/projects/csound/ ↩
"Csound | GitHub.com". https://github.com/csound/csound ↩
Joachim Heintz. "Csound as a Real-time Application" (PDF). Institute for New Music. http://lac.linuxaudio.org/2012/papers/10.pdf ↩
Peter Kirn (15 October 2011). "Csound For Live wiki". Create Digital Music. http://createdigitalmusic.com/2011/10/csound-for-live-the-power-of-csound-in-ableton-with-or-without-any-coding/ ↩
Synthhead (15 October 2011). "Csound For Live Coming October 17th wiki". Synthtopia. http://www.synthtopia.com/content/2011/10/15/csound-for-live-coming-october-17th/ ↩
S. Yi and V. Lazzarini. "Csound for Android" (PDF). http://lac.linuxaudio.org/2012/papers/20.pdf ↩
"Csound on OLPC wiki". Retrieved 23 November 2010. http://wiki.laptop.org/go/Csound ↩