Csound is an actively used programming language created in 1985. Csound is a computer programming language for sound, also known as a sound compiler or an audio programming language, or more precisely, an audio DSL. It is called Csound because it is written in C, as opposed to some of its predecessors. It is free software, available under the LGPL. Read more on Wikipedia...
- Csound ranks in the top 10% of languages
- the Csound website
- the Csound wikipedia page
- Csound first appeared in 1985
- file extensions for Csound include csd, sco, orc and udo
- See also: c, structured-audio-orchestra-language, python, java, lisp, tcl, haskell, bison, max, emacs-editor
- Have a question about Csound not answered here? Email me and let me know how I can help.
Example code from Linguist:
sr = 44100 kr = 44100 ksmps = 1 nchnls = 2 ; pvanal -n 512 -w 8 allglass1-L.wav allglass1-L.pvc ; pvanal -n 512 -w 8 allglass1-R.wav allglass1-R.pvc instr 1 ktime line 0, p3, 17.5018 arL pvoc ktime, 1, "allglass1-L.pvc" arR pvoc ktime, 1, "allglass1-R.pvc" out arL, arR endin
Example code from Wikipedia:
<CsoundSynthesizer> <CsOptions> csound -W -d -o tone.wav </CsOptions> <CsInstruments> sr = 96000 ; Sample rate. kr = 9600 ; Control signal rate. ksmps = 10 ; Samples per control signal. nchnls = 1 ; Number of output channels. instr 1 a1 oscil p4, p5, 1 ; Oscillator: p4 and p5 are the arguments from the score, 1 is the table number. out a1 ; Output. endin </CsInstruments> <CsScore> f1 0 8192 10 1 ; Table containing a sine wave. Built-in generator 10 produces a sum of sinusoids, here only one. i1 0 1 20000 1000 ; Play one second of one kHz at amplitude 20000. e </CsScore> </CsoundSynthesizer>
Last updated June 22nd, 2020