SuperCollider

v0.2.1
io.github.Tok/supercollider-mcp Checked 9 hours ago Published 24 days ago

Make 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.

ParameterTypeDescription
durationnumberSeconds
effectsOptional effect chain
notestringNote name (C4, G#3) or frequency ('440')
synth_typestring
volumenumberLoudness, 0..1

create_layered_synth

Play a thick unison sound made of several detuned copies of one note.

ParameterTypeDescription
base_notestringNote name or frequency
detunenumberDetune spread; 1 = +-50 cents
durationnumberSeconds
effectsOptional effect chain
num_layersintegerNumber of detuned voices
stereo_widthnumberHow far layers spread left/right
synthstring
volumenumberLoudness, 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.

ParameterTypeDescription
depthnumberModulation depth
durationnumberSeconds
effectsOptional effect chain
notestringNote name or frequency
ratenumberLFO speed in Hz
synthstring
target_paramstring
volumenumberLoudness, 0..1
waveformstring

create_granular_texture

Play a shimmering cloud of many tiny sine grains scattered in pitch and stereo.

ParameterTypeDescription
densitynumber0 = 5 grains/s, 1 = 100 grains/s
durationnumberSeconds
effectsOptional effect chain
grain_sizenumberGrain length in seconds
pitch_spreadnumberRandom pitch range; 1 = +-1 octave
seedRandom seed for a reproducible result; omit for a new one
source_notestringCentre note or frequency
volumenumberLoudness, 0..1

play_melody

Generate and play a melody that moves mostly stepwise through a scale and ends on the tonic.

ParameterTypeDescription
effectsOptional effect chain
notesintegerNumber of notes
rootTonic such as D, F#3 or Bb4; random if omitted
scalestring
seedRandom seed for a reproducible result; omit for a new one
synthstring
temponumberBeats per minute
volumenumberLoudness, 0..1

create_sequence

Play a melody you write out note by note.

ParameterTypeDescription
pattern *stringNotes 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
effectsOptional effect chain
repeatsinteger
synthstring
temponumberBeats per minute
volumenumberLoudness, 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.

ParameterTypeDescription
duration_per_chordnumberLength of each chord in beats
effectsOptional effect chain
octaveintegerOctave of the chord roots
progressionstringChord symbols separated by dashes or spaces, e.g. 'Cmaj7-Am7-Dm7-G7' or 'C G/B Am F'
repeatsinteger
stylestring
synthOverride the style's default synth
temponumberBeats per minute
volumenumberLoudness, 0..1

create_drum_pattern

Play a drum groove: four_on_floor, breakbeat, shuffle, half_time, two_step, random, or a custom pattern.

ParameterTypeDescription
barsintegerNumber of 4/4 bars (16 steps each)
customYour 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..…
effectsOptional effect chain
pattern_typestring
seedRandom seed for a reproducible result; omit for a new one
swingDelay of off-beat 16ths; 0.33 = shuffle
temponumberBeats per minute
volumenumberLoudness, 0..1

create_generative_rhythm

Play drums that keep mutating bar by bar (minimal, techno, glitch, jazz or ambient).

ParameterTypeDescription
durationnumberSeconds
effectsOptional effect chain
intensitynumberHow busy and how changeable
seedRandom seed for a reproducible result; omit for a new one
stylestring
temponumberBeats per minute
volumenumberLoudness, 0..1

create_ambient_soundscape

Play an evolving ambient piece: a drone with slowly swelling, overlapping tones.

ParameterTypeDescription
densitynumberHow many sound events overlap
durationnumberSeconds
effectsOverride the mood's own reverb/delay
moodstring
pitch_rangestring
seedRandom seed for a reproducible result; omit for a new one
volumenumberLoudness, 0..1