playgrid.ccRead tutorial

Solar Brass — complete SuperCollider settings

Signal flow and implementation

~soundStage is compiled into the SynthDefs. Re-evaluate the complete block after changing it; source and effects are then replaced together. The fixed output multiplier ~soundOutputScale is 1.132726 and applies after the whole chain at every stage. It is separate from any final gain step.

EnvGen supplies the explicit linear or exponential contours. Exponential floors stay positive. Closing the gate begins each release; a separate silent lifetime envelope frees the note after the longest source release. Shared effects continue independently.

RLPF uses reciprocal Q, set to 1 divided by the source Q. It replaces the two-pole resonant lowpass rather than reproduce its nonlinearities.

LeakDC uses coefficient 0.995. It replaces the longer-window Csound DC blocker, with a different low-frequency response and latency.

LocalIn/LocalOut carry all feedback paths in a single multichannel loop. Recirculation adds one server processing block to each delay; changing block size therefore changes short comb/flanger tuning. DelayC uses seconds, converted from the millisecond tap values in the design.

FreeVerb2 replaces the diffuse room with its own room and damping controls, both dimensionless. The per-stage values below are specific to this algorithm and do not specify a measured decay time or damping frequency.

Saw and Pulse use SuperCollider oscillator implementations and startup phases; they replace the source engines and do not scan proprietary wavetables.

Synthesis and effect controls

Stage 1 — Build the first oscillator and touch contour

Select ~soundStage = 1 and evaluate the full script at the end of this guide. Wait for the instrument-ready message before playing.

Set ~soundStage = 1 in the full script. Use saw at -8 dB with pulse width 50% when applicable. The contour has 0.035 s attack, 0.85 s exponential decay to 0.8 sustain and 0.35 s release. Multiply by velocity^3; this explicit power curve interprets the source velocity response. Keep the signal centered before adding effects.

SuperCollider control Value
Source Saw, -8.0 dB; width not used
Amplitude A/D/S/R 0.035 / 0.85 / 0.8 / 0.35
Amplifier / instrument -6.0 dB / -6.0 dB
Velocity power 3.0

Stage 2 — Add the second oscillator and resonant contour

Set ~soundStage = 2 in the full script. Add rect at -15 dB, tuned by 0 octaves. Use a Low-pass 12dB/oct interpretation with 950 Hz base cutoff, 2 octave envelope depth and 0.6 octave-per-octave pitch tracking. The contour opens then settles quickly while the amplitude remains. Smooth input drive interprets Sym1; the ladder or second-order lowpass is a different circuit. The 0 Hz LFO, where enabled, restarts per note rather than running freely.

SuperCollider control Value
Second source Rect; -15 dB; width 46 %
Filter base / resonance 950 Hz / 0.2
Filter A/D/S/R 0.07 / 0.35 / 0.45 / 0.42
Envelope / key / LFO depth 2 / 0.6 / 0 octaves
LFO rate 0 Hz
Filter input shape tanh(input × 1.4) / 1.4

Stage 3 — Add moving stereo chorus

Set ~soundStage = 3 in the full script. Move two delay taps around 12 ms by ±2.8 ms at 0.4 Hz, with opposite phases and 16% wet mix. Highpass only the wet inputs at 200 Hz to leave the direct low body clear. Scale side information by 1; tap feedback is 0. These explicit tap depths interpret the source Amount and ensemble movement rather than copy the internal algorithm. Sustained notes reveal slow pitch interference.

SuperCollider control Value
Tap center / excursion 12 / ±2.8 ms
Rate / wet 0.4 Hz / 16%
Wet highpass 200 Hz
Width / feedback 1 / 0
Warmth shaping 0% smooth-drive interpretation

Stage 4 — Surround the tone with a damped room

Set ~soundStage = 4 and evaluate the full block. Feed the preceding signal into FreeVerb2, using its fully wet output and the dry/wet routing shown in the script. The room continues after individual note envelopes release. Predelay separates the initial articulation from the diffuse tail; the external wet mix controls how far that tail moves forward.

The SuperCollider room value is 0.420492 and damping is 0.71875. These dimensionless settings are choices for this algorithm, rather than equivalent values for Ableton decay or Csound feedback and damping. More damping darkens the circulating highs. Any input filters and mid/side width changes in this stage retain their own explicit settings in the full script.

SuperCollider room control Value
FreeVerb2 internal mix 1, wet output only
Room 0.420492
Damping 0.71875
Predelay 12 ms
External room wet 14%
SuperCollider control Value
Room side multiplier 1
Room input cuts Off

Stage 5 — Set the final width and gain

Set ~soundStage = 5 in the full script. Use 7.95 dB gain after the effects. Scale the side signal by 1, preserving the center. Apply LeakDC DC removal with coefficient 0.995. The fixed ~soundOutputScale gain follows the complete effect chain at every stage. The effects Synth reads the stereo bus after the note group, and continues through note releases.

SuperCollider control Value
Final gain 7.95 dB
Width 1 × side
Bass side cutoff Off
DC removal LeakDC, coefficient 0.995

Connected instrument

The full SuperCollider script contains the complete voice, shared effects, bus ordering and note helper. No external sample or third-party unit is required.