Skip to content

Daandelange/ofxSCLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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
  1. Compile SClang
    An automated update and compile script is available.
  • cd path/to/ofxSCLang/libs_submodules
  • ./sync.sh
  1. 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

Licenses

Made by Daan de Lange with the help of José Miguel Fernandez.

About

libSCLang for OpenFrameworks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published