bindings-sc3

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

5 Responses to bindings-sc3

  1. Bernardo Barros says:

    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!

  2. sk says:

    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 HEAD outputs ae54cef254c99e410192f2d7f4429e8d2c1bf778.

    Please build and install SuperCollider (you may need to run sudo ldconfig after installation), try building bindings-sc3 again with cabal install --verbose --extra-include-dirs=/usr/local/include/SuperCollider/{common,plugin_interface} --extra-lib-dirs=/usr/local/lib and post the output to the issue I’ve created in the bug tracker: https://github.com/kaoskorobase/bindings-sc3/issues/1

    Thanks!

  3. Bernardo Barros says:

    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!

  4. Bernardo Barros says:

    I think it’s because Arch install stuff in ‘/usr/’ so cabal didnt find the libs.

  5. sk says:

    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

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>