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 SynthDef
s 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 details)
File details
Details for the file supercollider-0.0.1.tar.gz
.
File metadata
- Download URL: supercollider-0.0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 184b4c135a2c54849733f13abde0c325c5594951ce0f7d126f46e0b49add0928 |
|
MD5 | 2338476e55082809327f284a205e8263 |
|
BLAKE2b-256 | 2ab7c6a72042c2dfedc46c65776648f5720d29f284cb7b7b6742f77e6bf4d01d |