Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
This branch is 25 commits ahead of jacobjoaquin:master.

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
A Csound library for Processing

Jacob Joaquin, Conor Robotham, Rory Walsh

Copyright (c) 2010

What is Processing?

"Processing is an open source programming language and environment
for people who want to create images, animations, and interactions.
Initially developed to serve as a software sketchbook and to teach
fundamentals of computer programming within a visual context,
Processing also has evolved into a tool for generating finished
professional work. Today, tens of thousands of students, artists,
designers, researchers, and hobbyists who use Processing for learning,
prototyping, and production."

What is Csound?

"Csound is a sound and music synthesis system, providing facilities
for composition and performance over a wide range of platforms. It
is not restricted to any style of music, having been used for many
years in the creation of classical, pop, techno, ambient, experimental,
and (of course) computer music, as well as music for film and

1) Install Csound or build from source(Instructions below). 

2) cd to the src directory of the csoundo folder and edit the file 
there so that it points to valid core.jar and csnd6.jar files.

3) From the same directory run ./ to build the library.

3) After it builds you need to copy your entire csoundo folder, minus the src 
directory if you wish, to your sketchbook/libraries/ folder.
This is a folder that Processing creates in your home directory when it runs.

4) (Windows and Linux only) Open your Processing and files from your 
processing install directory and add the csound library path. Just replace the following lines:
  java -Djna.nosys=true "$SKETCH" &

  java -Djna.nosys=true -Djava.library.path=/usr/local/lib "$SKETCH" &  

4) (OSX users) If you receive an 'java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path' error, 
please try adding a copy of lib_jcsound6.jnilib from the Csound64.framework to the library folder of csoundo that resides
in your Processing documents folder. The folder structure of your installed csoundo library should look like this:

processing ->
            libraries ->
                        csoundo ->
                                library ->
### Note for Linux users
You many need to install java 1.6 in order for Processing to recognise the Csoundo library. Many flavours of Linux ship with 
Open Java. You can check the version by typing 'java -version' from the terminal. If you have openJDK installed you will need
to revert to Java SE 1.6. After you have installed Java 1.6 you will need to rebild Csound so that the csnd6.jar file is rebuilt
with the correct version of Java. 

Building Csound 6
The first thing to do is get a copy of the Csound 6 sources. The following instructions are written for those getting a copy of the source code from Git. You will need to adjust the steps accordingly when using the source tarball from the files section.

The first thing to do is make sure you have all of the required dependencies for building Csound. In a terminal, do the following:

    sudo apt-get build-dep csound
    sudo apt-get install cmake
    sudo apt-get install git

The following numbered steps are to be done in a terminal for building and installing Csound:

    cd ~
    mkdir csound
    cd csound
    git clone csound
    mkdir cs6make
    cd cs6make
    cmake ../csound
    make -j6
    sudo make install
    sudo ldconfig

At this point, Csound 6 should now be compiled and installed into the /usr/local set of folders.


A Csound Library for Processing






No packages published


  • JavaScript 77.3%
  • HTML 18.3%
  • Java 3.5%
  • CSS 0.6%
  • Csound Document 0.1%
  • Shell 0.1%
  • Batchfile 0.1%