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 (>=3 && <5), monads-tf (==0.1.*), transformers (==0.2.*), vector (>=0.6 && <0.10) [details]
License LGPL
Author John W. Lato,
Maintainer John W. Lato,
Category Sound, Music
Source repository head: darcs get
Uploaded Tue Aug 30 22:47:59 UTC 2011 by JohnLato
Distributions NixOS:0.4.2
Downloads 1755 total (9 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-12-27 [all 7 reports]
Hackage Matrix CI


  • Sound
    • Sound.Csound
      • Sound.Csound.Foreign
      • Sound.Csound.Interface
      • Sound.Csound.Vector


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.4.0

hCsound - Haskell interface to the Csound API.

Enable control of Csound from the Haskell language.

Requirements: a haskell compiler (currently tested with GHC 6.10.x) and a working Csound installation (Csound >= 5.08 && <= 6.0).

In the simplest case, this program can be built in the standard cabal manner, as below:
        > cabal configure -O2
        > cabal build
        > cabal 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 Unix/Linux: if Csound is in a non-standard location, you may need to specify the location during the configure step.
        > cabal configure -O2 --extra-include-dirs="/path/to/headers" --extra-lib-dirs="/path/to/libs"

Installing on Windows: hCsound has been successfully built on Windows, but I have frequently had problems with the linker included in GHC and the csound DLL.  Your best bet is to use MinGW.  Please contact the hCsound maintainer for further assistance.

Installing on Mac: if Csound was installed using the mac installer, hCsound will link to the installed frameworks.  If you have self-compiled csound and installed to a non-standard location (i.e. other than /Libraries/Frameworks/CsoundLib.framework and /Libraries/Frameworks/CsoundLib64.framework), use the flag -f-useFramework to disable linking to the frameworks.  In this case you will need to specify the header and library paths using --extra-include-dirs and --extra-lib-dirs if they aren't in the default locations.
        > cabal configure -O2 -f-useFramework --extra-include-dirs="/path/to/headers" --extra-lib-dirs="/path/to/libs"