bindings-sc3 is a Haskell library that provides low-level bindings to the SuperCollider synthesis engine library libscsynth.
Installation
Currently, bindings-sc3 requires SuperCollider to be built from source (at least revision 12838871d99ff72cfa047aa07e1a53ba2b1c8f5b). See the SuperCollider development page for information on how to get the sources from the git repository and build the library.
MacOS X
Assuming the environment variable SC points to the SuperCollider source tree, the bindings can then be installed as follows:
DYLD_LIBRARY_PATH=$SC/SuperCollider \
cabal install --extra-include-dirs=$SC/common/Headers/common \
--extra-include-dirs=$SC/common/Headers/plugin_interface \
--extra-lib-dirs=$SC/SuperCollider/
Reporting bugs
Please report bugs in our issue tracker.
Development
bindings-sc3‘s source code is hosted at github. You can check out a copy of the repository with the following command:
git://github.com/kaoskorobase/bindings-sc3.git

Hi!
I’d like to try the integration of Haskell and SuperCollider, but I could not install bindings-sc3… I followed the steps but I got an error. I’m on ArchLinux x86_64.
http://pastebin.com/A1pWk1b1
Cheers!
Hi Bernardo,
thanks for trying bindings-sc3. I couldn’t reproduce your build problem on Linux, could you please verify that you have the latest revision from SuperCollider’s git repository? On my machine,
git rev-parse HEADoutputsae54cef254c99e410192f2d7f4429e8d2c1bf778.Please build and install SuperCollider (you may need to run
sudo ldconfigafter installation), try building bindings-sc3 again withcabal install --verbose --extra-include-dirs=/usr/local/include/SuperCollider/{common,plugin_interface} --extra-lib-dirs=/usr/local/liband post the output to the issue I’ve created in the bug tracker: https://github.com/kaoskorobase/bindings-sc3/issues/1Thanks!
This command worked:
cabal install –verbose –extra-include-dirs=/usr/include/SuperCollider/{common,plugin_interface} –extra-lib-dirs=/usr/lib bindings-sc3
Is there some materials to get started? Tutorials,References etc?
Thanks!
I think it’s because Arch install stuff in ‘/usr/’ so cabal didnt find the libs.
There are no real tutorials for hsc3-process yet, but there is a simple example that should get you started. There’s also an excellent tutorial by Rohan Drape, introducing his hsc3 library.
hsc3-server is a layer on top of hsc3-process that adds resource (node, buffer and bus id) allocation and management, but the API is still in a state of flux. You can see it in action in mescaline …