Skip to content
claude-collider logo

SuperCollider Live Coding with ClaudeCollider

claude-collider

Use when live coding music with SuperCollider via ClaudeCollider MCP server.

SKILL.md

Full skill instructions

SuperCollider Live Coding with ClaudeCollider

This skill enables live music synthesis using SuperCollider via the ClaudeCollider MCP server.

Quick Reference

Key Rules

  1. Drums need \freq, 48 - IMPORTANT Without it, drums sound wrong
  2. Use Pdef for rhythms - Patterns that repeat
  3. Use Ndef for continuous - Pads, drones, textures
  4. Symbols not strings - \kick not "kick"
  5. Semicolons between statements - No trailing semicolon
  6. NEVER Synth() inside Ndef - Causes infinite spawning

CC API Reference

The main entry point stored in ~cc. Access subsystems via ~cc.synths, ~cc.fx, ~cc.midi, ~cc.samples, ~cc.recorder, ~cc.state.

CC - Main Class

MethodDescription
tempo(bpm)Get/​set tempo in BPM
stopStop all Pdefs and Ndefs
clearFull reset: free all synths, patterns, effects, samples
statusGet formatted status string
reboot(device, numOutputs, onComplete)Restart the server

~cc.synths - Synth Definitions

27+ pre-built synths with cc_ prefix.

MethodDescription
listComma-separated list of synth names
describeDetailed descriptions with params
play(name, ...args)One-shot synth playback

Usage

~cc.synths.play(\cc_kick, \freq, 48, \amp, 0.8);

~cc.fx - Effects System

18 built-in effects with routing, chaining, and sidechaining.

MethodDescription
load(name, slot)Load effect (slot defaults to fx_<name>)
set(slot, ...args)Set effect parameters
bypass(slot, bool)Bypass/​re-enable effect
remove(slot)Remove effect
route(source, target)Route Pdef/​Ndef to effect
connect(from, to)Chain effect output to another effect
sidechain(name, threshold, ratio, attack, release)Create sidechain compressor
routeTrigger(source, sidechainName, passthrough)Route trigger to sidechain
routeToOutput(source, channels)Route to hardware outputs
listAvailable effect names
describeEffect descriptions with params
statusCurrent effects and routing

Usage

~cc.fx.load(\reverb);
~cc.fx.route(\bass, \fx_reverb);
~cc.fx.set(\fx_reverb, \mix, 0.5, \room, 0.9);

~cc.midi - MIDI Control

MethodDescription
listDevicesList available MIDI devices
connect(device, direction)Connect device (\in or \out)
connectAllConnect all MIDI inputs
disconnect(direction)Disconnect (\in, \out, or \all)
play(synthName, channel, mono, velToAmp, ccMappings)Play synth via MIDI
stopStop current MIDI synth
statusGet MIDI status

Usage

~cc.midi.connectAll;
~cc.midi.play(\lead, nil, false, true, (
  1: \cutoff,                           // CC1 -> cutoff
  74: (param: \res, range: [0.1, 0.9])  // CC74 -> res with range
));

~cc.samples - Sample Management

Samples from ~/​.claudecollider/​samples.

MethodDescription
load(name)Load sample buffer into memory
at(name)Get buffer (nil if not loaded)
play(name, rate, amp)One-shot playback
free(name)Free buffer
reloadRescan directory for new files
namesArray of sample names
listComma-separated list

Usage

~cc.samples.load(\kick);
~cc.samples.play(\kick, 1, 0.8);
Pdef(\samp, Pbind(\instrument, \cc_sampler, \buf, ~cc.samples.at(\kick), \dur, 1)).play

~cc.recorder - Audio Recording

Records to ~/​.claudecollider/​recordings.

MethodDescription
start(filename)Start recording (auto-names if nil)
stopStop recording, returns path
statusRecording status
isRecordingBoolean

~cc.state - Bus Management

Named control/​audio buses stored in current environment.

MethodDescription
bus(name, numChannels, rate)Get or create bus (also sets ~name)
setBus(name, value)Set bus value
getBus(name)Get bus by name
freeBus(name)Free bus
clearFree all buses

Usage

~cc.state.bus(\cutoff, 1, \control);
~cc.state.setBus(\cutoff, 2000);
Synth(\cc_acid, [\cutoff, ~cutoff.asMap]);  // Map bus to param

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View