hCsound: interface to CSound API

[ library, music, sound ] [ Propose Tags ]

Haskell interface to Csound API.


[Skip to Readme]

Modules

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

Flags

Automatic Flags
NameDescriptionDefault
splitbase

Choose the new split-up base package.

Enabled
usedouble

link to doubles-based csound, if available

Enabled
useframework

Use CSound installed to LibrariesFrameworks. OS X only.

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 && <0.2), transformers (>=0.2 && <0.4), vector (>=0.6 && <0.11) [details]
License LicenseRef-LGPL
Author John W. Lato, jwlato@gmail.com
Maintainer John W. Lato, jwlato@gmail.com
Category Sound, Music
Source repo head: darcs get http://www.tiresiaspress.us/haskell/hCsound
Uploaded by JohnLato at 2012-12-19T05:33:50Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 6128 total (22 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-22 [all 9 reports]

Readme for hCsound-0.4.2

[back to package description]
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).

Building:
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.
 example:
        > cabal configure -O2 -f-useFramework --extra-include-dirs="/path/to/headers" --extra-lib-dirs="/path/to/libs"