Swing OSC: Installing SuperCollider Classes
Today i have managed to install SwingOSC to my system. Here are the instructions:
Download SwingOSC from: http://www.sciss.de/swingOSC/
Installing SuperCollider classes : SwingOSC v0.59 was successfully tested with SuperCollider 3.2 and should, if possible, not be used with older versions of SuperCollider.
- Step1: Copy the content of the
Helpfolder to SuperCollider’sHelpfolder. - Step2: Copy the content of
SCClassLibraryfolder into SuperCollider’sExtensionsfolder:
That is either /Library/Application Support/SuperCollider/SCClassLibrary (system wide install) or ~/Library/Application Support/SuperCollider/SCClassLibrary (just for your user account).
Booting SwingOSC: To be able to boot SwingOSC from within SuperCollider, copy the file SwingOSC.jar into the main SuperCollider application folder, or set SwingOSC.program in your SC startup file to point to the right install location (Note that the prefix "java -jar" must not be used any more!). Details about this, and also the possibility to select a particular Java VM, are explained in the SwingOSC help file.
Updating SwingOSC:
If you are updating from an existing SwingOSC version, make sure you remove or replace the old class folders. Note that PenPlus.sc (SwingOSC up to version 0.43) should also be removed, because it was renamed to extCocoaCompat.sc.
SwingOSC First Steps for Booting Server:
The first step is launch the SwingOSC server. The plain way to do it, is to evaluate the following expression in SuperCollider:
SwingOSC.default.boot;
The above boots the Default SwingOSC Server.
To quit the server do:
SwingOSC.default.quit;
A second way to do it is via the terminal:
Open a terminal. Then:
- cd into the SwingOSC installation directory, and launch it with the java tool java -jar ./SwingOSC.jar or java -jar SwingOSC.jar -t 57111 -i -L
- Using —help, you will see the possible commandline options:
- Make sure to use TCP port 57111 and restrict OSC communication to the local machine (-L option) when possible.
If you prefer to use UDP transport, use -u instead of -t.
To quit the server press Ctrl-C in the terminal.
Cygnus Tue, 27 October 2009, 16:43PM