The hCsound package

[Tags: lgpl, library]

Haskell interface to Csound API.


[Skip to ReadMe]

Properties

Versions0.2, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2
Change logNone available
Dependenciesbase, haskell98, mtl [details]
LicenseLGPL
AuthorJohn W. Lato, jwlato@gmail.com
MaintainerJohn W. Lato, jwlato@gmail.com
Stabilityexperimental
CategorySound, Music
UploadedSat Jul 5 22:43:46 UTC 2008 by JohnLato
Downloads1213 total (62 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-05-30 [all 2 reports]

Modules

Flags

NameDescriptionDefaultType
splitbaseChoose the new split-up base package.EnabledAutomatic

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

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for hCsound-0.2

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.

Building:
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 standard build assumes that csound.h is intalled in /usr/local/include/csound (UNIX/Linux) or C:\Csound\include (Windows), and that the csound libary is installed in /usr/local/lib.  If csound is installed in another location, you must edit hCsound.cabal and specify the correct location for the header file in the include-dirs: line, and the library in the extra-lib-dirs line.  This library also assumes that you are using a 64-bit Csound.

Installing on Windows: Edit hCsound.cabal and change the extra-lib-dirs line to an appropriate value for your system.  Also change include-dirs if necessary.  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.

Using with 32-bit Csound:
edit hCsound.cabal and change the extra-libraries line from csound64 to csound32.