scamp_extensions.playback.supercollider package

Subpackage containing tools for interfacing with SuperCollider. These tools are enabled by calling add_sc_extensions(), which adds several functions to SCAMP’s Ensemble and Session classes. NB: All of this functionality assumes that you have SuperCollider installed in such a way that it can be run from the command line (via the command “sclang”).

Modules:

scamp_extensions.playback.supercollider.sc_lang

Module containing functionality for starting up and communicating with an instance of sclang.

scamp_extensions.playback.supercollider.sc_playback_implementation

Module containing the SCPlaybackImplementation class (an extension of OSCPlaybackImplementation), which can be added to an instance of ScampInstrument.

Public-Facing API (result of import *):

SCLangInstance()

Object that starts up an instance of sclang as a subprocess, and facilitates communication with that subprocess via OSC.

SCPlaybackImplementation(synth_def)

A subclass of OSCPlaybackImplementation designed to communicate with a running copy of SCLang (via an SCLangInstance).

add_sc_extensions()

Adds several new functions to the ScampInstrument class, as well as to the Ensemble (and therefore Session).