Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daandelange/ofxsclang
libSCLang for OpenFrameworks
https://github.com/daandelange/ofxsclang
ofxaddon openframeworks-addon supercollider
Last synced: 29 days ago
JSON representation
libSCLang for OpenFrameworks
- Host: GitHub
- URL: https://github.com/daandelange/ofxsclang
- Owner: Daandelange
- License: other
- Created: 2024-10-31T11:06:28.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-19T17:24:36.000Z (about 2 months ago)
- Last Synced: 2024-11-19T18:35:06.509Z (about 2 months ago)
- Topics: ofxaddon, openframeworks-addon, supercollider
- Language: C++
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
ofxSCLang
=====================================Introduction
------------
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](https://doc.sccode.org/Guides/ClientVsServer.html#A%20final%20remark%20for%20the%20advanced%20reader).Installation
------------1. Install
There are submodules which you need to **clone recursively**.
- `cd path/to/openframeworks/addons`
- `git clone --recursive https://github.com/daandelange/ofxSCLang.git`
2. Compile SClang
An automated update and compile script is available.
- `cd path/to/ofxSCLang/libs_submodules`
- `./sync.sh`
3. After compiling your ofApp, you need to copy (or symlink) `ofxSCLang/data/SCClassLibrary` to `yourOfApp.app/Contents/Macos/SCClassLibrary`.Compatibility
------------
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.Known Issues
------------
- SClang's objects have a build-in limitation on stringifying objects for returning the post message.
This can be fixed by editing `SCClassLibrary/Common/Core/Object.sc`: Replace `asString { arg limit = 512;` by `asString { arg limit = 2048;`.Related
-------
- [ofxSuperCollider](http://github.com/genekogan/ofxSuperCollider) : openframeworks addon for controlling SuperCollider via OSC.
- [ofxSuperColliderServer](https://github.com/satoruhiga/ofxSuperColliderServer) : Run a server directly within openframeworks.Licenses
--------
Made by [Daan de Lange](https://daandelange.com/) with the help of [José Miguel Fernandez](https://github.com/Josemiguelfernandez).- ofxSCLang : [MIT License](./LICENSE.md).
- supercollider : [MIT License](https://github.com/supercollider/supercollider/blob/develop/COPYING).