This addons wraps SuperCollider's libSCLang for OpenFrameworks to interpret sclang code.
Note that this doesn't provide the audio server functions, it only implements an sclang interpreter client.
An SCLang client can control scsynth and interpret the SuperCollider language. SCLang advantages over OSC control.
- Install
There are submodules which you need to clone recursively.
cd path/to/openframeworks/addonsgit clone --recursive https://github.com/daandelange/ofxSCLang.git
- Compile SClang
An automated update and compile script is available.
cd path/to/ofxSCLang/libs_submodules./sync.sh
- After compiling your ofApp, you need to copy (or symlink)
ofxSCLang/data/SCClassLibrarytoyourOfApp.app/Contents/Macos/SCClassLibrary.
Tested on osx 10.15 + of_v0.12.0 using either Qt-creator, Xcode or makefiles.
Windows and Linux versions need some effort to get it running.
- SClang's objects have a build-in limitation on stringifying objects for returning the post message.
This can be fixed by editingSCClassLibrary/Common/Core/Object.sc: ReplaceasString { arg limit = 512;byasString { arg limit = 2048;.
- ofxSuperCollider : openframeworks addon for controlling SuperCollider via OSC.
- ofxSuperColliderServer : Run a server directly within openframeworks.
Made by Daan de Lange with the help of José Miguel Fernandez.
- ofxSCLang : MIT License.
- supercollider : MIT License.