Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7aeb39a0a2
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 177 lines (98 sloc) 4.597 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
'Csoundo' is a Csound library for Processing.

Copyright (c) 2010 Jacob Joaquin jacobjoaquin@gmail.com
http://csoundblog.com/

Note
----

Csoundo development is in early Alpha. Though people have
been successful in running Csoundo on Linux, OS X and Windows, there
are still many issues that are preventing people from getting Csoundo
to work on their computers. For example, Csoundo only works with
the floats version of Csoundo, not doubles. (see "Known Issues" at
the end)



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

http://processing.org/



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
television."

http://csound.sourceforge.net/



Running on OS X
---------------

1) Install Csound.

Only one version of the pre-built Csound binaries has been confirmed
to work on OS X, and only confirmed to work on Intel machines:

csound5.12.4-OSX10.5-Universal.dmg
http://sourceforge.net/projects/csound/files/csound5/csound5.12/csound5.12.4-OSX10.5-Universal.dmg/download


2) Copy the Csoundo folder into your Processing 'libraries' folder.
See instructions at Processing.org:

http://wiki.processing.org/w/How_to_Install_a_Contributed_Library


3) Copy or make a symlink to the csnd.jar file. The csnd.jar is
located here:

/Library/Frameworks/CsoundLib.framework/Resources/Java/csnd.jar

Make a copy of csnd.jar in this folder:

yoursketchbook/libraries/csoundo/library

Alternatively, you can create a symbolic link using the terminal
app.

$ cd yoursketchbook/libraries/csoundo/library
$ ln -s /Library/Frameworks/CsoundLib.framework/Resources/Java/csnd.jar csnd.jar



Running on Linux
----------------

I do not have linux installed. If you have better instructions,
please email me, and I will incorporate them into the Csoundo
knowledge base.

1) Install Csound:

http://csound.sourceforge.net/


2) Copy the Csoundo folder into your Processing 'libraries' folder.
See instructions at Processing.org:

http://wiki.processing.org/w/How_to_Install_a_Contributed_Library


3) Copy or make a symlink to the csnd.jar here:

yoursketchbook/libraries/csoundo/library

To create a symbolic link:

$ cd yoursketchbook/libraries/csoundo/library
$ ln -s /Library/Frameworks/CsoundLib.framework/Resources/Java/csnd.jar csnd.jar


4) Make modifications to the 'processing' lauch script.

There is currently one known method for running Csoundo on linux.
That is, to make to modifications to the 'processing' launcher
script in the root folder of Processing.

A. Towards the very end, right before the line "# Start Processing
in the same directory as this script", add this code (your csound
plugins folder may vary):

#make sure that OPCODEDIR is set.. export
OPCODEDIR=/usr/local/lib/csound/plugins log OPCODEDIR

B. Replace the last line "java processing.app.Base "$SKETCH" &" to
the following:

java -Djava.library.path=/usr/local/lib processing.app.Base "$SKETCH" &


Thanks to Rory Walsh for this info.



Running on Windows
------------------

There have been reports of Csoundo working on various versions of
Windows. I do not have Windows installed. If you have better
instructions, please email me, and I will incorporate them into the
Csoundo knowledge base.

1) Install Csound:

http://csound.sourceforge.net/


2) Copy the Csoundo folder into your Processing 'libraries' folder.
See instructions at Processing.org:

http://wiki.processing.org/w/How_to_Install_a_Contributed_Library


3) Copy the csnd.jar here:

yoursketchbook/libraries/csoundo/library



Known Issues
------------

* Csound Doubles is not yet supported. To find out which version
you are running, run csound, and about 5 lines down, you'll get a
message like this: "Csound version 5.12 (float samples) Jun 4 2010"

To track other issues, go here:

http://github.com/jacobjoaquin/Csoundo/issues








Something went wrong with that request. Please try again.