Skip to main content

Interact with the SuperCollider audio synthesis engine

Project description

Python client for SuperCollider

A lightweight Python module to control the SuperCollider audio synthesis engine.

Installation

The liblo library is required for the underlying OSC communications.

brew install liblo # macOS
apt-get install liblo7 # Linux

Install the Python package:

pip3 install supercollider

Usage

from supercollider import Server, Synth

server = Server()

synth = Synth(server, "sine", { "freq" : 440.0, "gain" : -12.0 })
synth.set("freq", 880.0)
synth.get("freq", lambda n: print(n))

See also

If you want a more fully-fledged approach that lets you construct and compile SynthDefs from Python, you'd be better with Supriya.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supercollider-0.0.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page