csound-expression: library to make electronic music

[ bsd3, library, music, sound ] [ Propose Tags ]

Let's make music with text! We can use Csound to describe our music. Csound has so many fantastic sound generators. It's very efficient. But sometimes Csound is too low level. So many details: integer identifiers for instruments and arrays, should I use control rate or audio rate signals, lack of abstractions, no nested expressions and it has limited set of types. This library embeds Csound in Haskell. We can use powerful Csound's primitives and glue them together with Haskell abstractions. The module Csound.Base exports all types and functions.


Key principles

How to install (for Csound and Haskell users)

To use the library we need:


It should print a long message with version and available flags and libraries.

If everything is installed to install the library we can open the command line terminal and type:

cabal install csound-expression

Acknowledgements (I'd like to mention those who supported me a lot with their music and ideas):

WARNING: the library works best within ghci. The real-time sound rendering function dac spawns a child process in the background which may continue to execute after you stop the main process that runs the programm. It's not so in vim but it happens in the Sublime Editor and when you invoke runhaskell. So the best is to write you program in the separate file and then load it in the ghci and invoke the function main (which runs the sound rendering with the function dac).

Versions [faq] 0.0, 0.0.1, 0.0.2, 0.0.3, 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.1, 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.2.1, 3.2.3, 3.3.0, 3.3.1, 3.3.2, 4.0.0, 4.1.0, 4.2.0, 4.2.1, 4.3, 4.4, 4.4.1, 4.5, 4.6, 4.6.1, 4.7, 4.7.1, 4.8, 4.8.1, 4.8.2, 4.8.3, 4.8.4, 4.9.0, 4.9.1, 5.0.0, 5.0.1, 5.1.0, 5.2.0, 5.2.1, 5.2.2, 5.3.0, 5.3.1, 5.3.2
Dependencies base (==4.*), Boolean (>=0.1.0), csound-expression-opcodes, csound-expression-typed (>=0.0.3), data-default, process [details]
License BSD-3-Clause
Author Anton Kholomiov
Maintainer <anton.kholomiov@gmail.com>
Category Music, Sound
Home page https://github.com/anton-k/csound-expression
Bug tracker https://github.com/anton-k/csound-expression/issues
Source repo head: git clone https://github.com/anton-k/csound-expression
Uploaded by AntonKholomiov at Thu Mar 27 13:13:30 UTC 2014
Distributions NixOS:5.3.2
Downloads 22323 total (923 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Successful builds reported [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees