The hCsound package

[Tags: lgpl, library]

Haskell interface to Csound API.

[Skip to ReadMe]


Versions0.2, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2
Change logchangelog
Dependenciesbase (>=3 && <5), monads-tf (==0.1.*), transformers (==0.2.*), vector (>=0.6 && <0.8) [details]
AuthorJohn W. Lato,
MaintainerJohn W. Lato,
CategorySound, Music
UploadedSat Jan 15 22:26:54 UTC 2011 by JohnLato
Downloads1279 total (58 in last 30 days)
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-05-30 [all 2 reports]



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


Maintainers' corner

For package maintainers and hackage trustees

Readme for hCsound-0.3.1

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"