The hCsound package

[Tags:lgpl, library]

Haskell interface to Csound API.

[Skip to Readme]


Versions 0.2, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2
Change log changelog
Dependencies base (<5), haskell98, mtl [details]
License LGPL
Author John W. Lato,
Maintainer John W. Lato,
Stability experimental
Category Sound, Music
Uploaded Tue Nov 17 23:07:34 UTC 2009 by JohnLato
Distributions NixOS:0.4.2
Downloads 1705 total (19 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-12-31 [all 7 reports]


  • Sound
    • Sound.Csound
      • Sound.Csound.Interface


splitbaseChoose the new split-up base package.EnabledAutomatic
usedoublelink to doubles-based csound, if availableEnabledAutomatic
useframeworkUse CSound installed to /Libraries/Frameworks. OS X only.EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hCsound

Readme for hCsound-0.2.3

hCsound - Haskell interface to the Csound API.

Enable control of Csound from the Haskell language.

Requirements: a haskell compiler (currently tested with GHC 6.6+), a working Csound installation, and a version of libsndfile compatible with csound.

In the simplest case, this program can be built in the standard cabal manner, as below:
        > runhaskell Setup.lhs configure
        > runhaskell Setup.lhs build
        > runhaskell Setup.lhs install

The default is to build against 64-bit csound.  The flag useDouble controls whether the library is built against 32-bit or 64-bit csound.  Disable this flag (with -f-useDouble) to link to 32-bit csound.

Installing on Windows: Installing on Windows is tricky, and I have frequently had problems with the linker included in GHC and the csound DLL.  Please contact the hCsound maintainer for further help.

Installing on Mac: the default cpp on Leopard seems buggy.  If c2hs has lexer errors during build, build with these options:
	--cpp=gcc --cppopts=-E --cppopts=-xc-header