hCsound: interface to CSound API

[ library, music, sound ] [ Propose Tags ] [ Report a vulnerability ]

Haskell interface to Csound API.


[Skip to Readme]

Modules

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

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 (<5), haskell98, mtl [details]
Tested with ghc ==6.10.1, ghc ==6.8.3, ghc ==6.6.1
License LicenseRef-LGPL
Author John W. Lato, jwlato@gmail.com
Maintainer John W. Lato, jwlato@gmail.com
Category Sound, Music
Uploaded by JohnLato at 2009-11-17T23:07:34Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 6250 total (27 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-31 [all 7 reports]

Readme for hCsound-0.2.3

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