File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ A lightweight Python module to control the [SuperCollider](https://supercollider
77The ` liblo ` library is required for the underlying OSC communications.
88
99```
10- brew install liblo # macOS
11- apt-get install liblo7 # Linux
10+ brew install liblo # macOS
11+ apt-get install liblo7 liblo-dev # Linux
1212```
1313
1414Install the Python package:
@@ -19,6 +19,18 @@ pip3 install supercollider
1919
2020## Usage
2121
22+ Before using the library, start the SuperCollider server, either through the SuperCollider GUI or with ` scsynth -u 57110 ` .
23+
24+ Within the SC client, create the below SynthDef:
25+
26+ ```
27+ SynthDef(\sine, { |out = 0, freq = 440.0, gain = 0.0|
28+ Out.ar(out, SinOsc.ar(freq) * gain.dbamp);
29+ }).store;
30+ ```
31+
32+ From Python, you can now create and trigger Synths:
33+
2234``` python
2335from supercollider import Server, Synth
2436
You can’t perform that action at this time.
0 commit comments