SuperCollider
v0.2.1Make sound with SuperCollider: synths, drums, chords, melodies and soundscapes over OSC.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
server_status
Check the connection to SuperCollider and show load, playing sounds and recent errors.
stop_all
Immediately silence every sound started by this server and cancel scheduled playback.
play_example_osc
Play a short test chime to check that sound comes out.
play_synth
Play one note on a synthesizer: sine, saw, square, noise (band-passed), fm, pad or pluck.
| Parameter | Type | Description |
|---|---|---|
duration | number | Seconds |
effects | Optional effect chain | |
note | string | Note name (C4, G#3) or frequency ('440') |
synth_type | string | |
volume | number | Loudness, 0..1 |
create_layered_synth
Play a thick unison sound made of several detuned copies of one note.
| Parameter | Type | Description |
|---|---|---|
base_note | string | Note name or frequency |
detune | number | Detune spread; 1 = +-50 cents |
duration | number | Seconds |
effects | Optional effect chain | |
num_layers | integer | Number of detuned voices |
stereo_width | number | How far layers spread left/right |
synth | string | |
volume | number | Loudness, 0..1 |
create_lfo_modulation
Hold a note while a low-frequency oscillator sweeps its pitch, volume, filter or stereo position. Depth 1 means +-1 octave for frequency, full fade for amplitude, 200 Hz..8 kHz for the filter (needs saw, square, pad or pluck), and hard left/right for pan.
| Parameter | Type | Description |
|---|---|---|
depth | number | Modulation depth |
duration | number | Seconds |
effects | Optional effect chain | |
note | string | Note name or frequency |
rate | number | LFO speed in Hz |
synth | string | |
target_param | string | |
volume | number | Loudness, 0..1 |
waveform | string |
create_granular_texture
Play a shimmering cloud of many tiny sine grains scattered in pitch and stereo.
| Parameter | Type | Description |
|---|---|---|
density | number | 0 = 5 grains/s, 1 = 100 grains/s |
duration | number | Seconds |
effects | Optional effect chain | |
grain_size | number | Grain length in seconds |
pitch_spread | number | Random pitch range; 1 = +-1 octave |
seed | Random seed for a reproducible result; omit for a new one | |
source_note | string | Centre note or frequency |
volume | number | Loudness, 0..1 |
play_melody
Generate and play a melody that moves mostly stepwise through a scale and ends on the tonic.
| Parameter | Type | Description |
|---|---|---|
effects | Optional effect chain | |
notes | integer | Number of notes |
root | Tonic such as D, F#3 or Bb4; random if omitted | |
scale | string | |
seed | Random seed for a reproducible result; omit for a new one | |
synth | string | |
tempo | number | Beats per minute |
volume | number | Loudness, 0..1 |
create_sequence
Play a melody you write out note by note.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Notes separated by spaces or dashes, e.g. 'C4 E4 G4_ G4_ . C5+'. '_' halves a note, '+' doubles it, ':1.5' sets the length in beats, '.' is a rest |
effects | Optional effect chain | |
repeats | integer | |
synth | string | |
tempo | number | Beats per minute |
volume | number | Loudness, 0..1 |
create_chord_progression
Play a chord progression as sustained pads, rhythmic stabs (staccato), 8th-note arpeggios or power chords. Understands major, m, 5, 6, m6, 7, maj7, m7, mmaj7, m7b5, dim, dim7, aug, sus2, sus4, 7sus4, 9, maj9, m9, add9, madd9, add11 and slash chords such as C/E.
| Parameter | Type | Description |
|---|---|---|
duration_per_chord | number | Length of each chord in beats |
effects | Optional effect chain | |
octave | integer | Octave of the chord roots |
progression | string | Chord symbols separated by dashes or spaces, e.g. 'Cmaj7-Am7-Dm7-G7' or 'C G/B Am F' |
repeats | integer | |
style | string | |
synth | Override the style's default synth | |
tempo | number | Beats per minute |
volume | number | Loudness, 0..1 |
create_drum_pattern
Play a drum groove: four_on_floor, breakbeat, shuffle, half_time, two_step, random, or a custom pattern.
| Parameter | Type | Description |
|---|---|---|
bars | integer | Number of 4/4 bars (16 steps each) |
custom | Your own pattern instead of pattern_type: lanes kick, snare, hat, open_hat, perc, one character per 16th step: X accent, x hit, o ghost, . rest. Example: {'kick': 'X...x...X...x...', 'snare': '....X..… | |
effects | Optional effect chain | |
pattern_type | string | |
seed | Random seed for a reproducible result; omit for a new one | |
swing | Delay of off-beat 16ths; 0.33 = shuffle | |
tempo | number | Beats per minute |
volume | number | Loudness, 0..1 |
create_generative_rhythm
Play drums that keep mutating bar by bar (minimal, techno, glitch, jazz or ambient).
| Parameter | Type | Description |
|---|---|---|
duration | number | Seconds |
effects | Optional effect chain | |
intensity | number | How busy and how changeable |
seed | Random seed for a reproducible result; omit for a new one | |
style | string | |
tempo | number | Beats per minute |
volume | number | Loudness, 0..1 |
create_ambient_soundscape
Play an evolving ambient piece: a drone with slowly swelling, overlapping tones.
| Parameter | Type | Description |
|---|---|---|
density | number | How many sound events overlap |
duration | number | Seconds |
effects | Override the mood's own reverb/delay | |
mood | string | |
pitch_range | string | |
seed | Random seed for a reproducible result; omit for a new one | |
volume | number | Loudness, 0..1 |