playgrid.ccRead tutorial

Dune Reach — 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 2.98587 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.

MoogFF replaces the ladder filter. Its gain argument is four times the source 0–1 resonance amount, limited to 3.95; it is a different circuit. Cutoffs are limited to 20–18000 Hz.

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 rect at -7 dB with pulse width 49% when applicable. The contour has 0.008 s attack, 2.12 s exponential decay to 0.15 sustain and 0.572 s release. Multiply by velocity^2; this explicit power curve interprets the source velocity response. Keep the signal centered before adding effects.

SuperCollider control Value
Source Rect, -7.0 dB; width 49 %
Amplitude A/D/S/R 0.008 / 2.12 / 0.15 / 0.572
Amplifier / instrument -6.0 dB / -7.0 dB
Velocity power 2.0

Stage 2 — Add the second oscillator and resonant contour

Set ~soundStage = 2 in the full script. Add sine at -22 dB, tuned by 1 octaves. Use a Low-pass 24dB/oct interpretation with 564 Hz base cutoff, 2.3 octave envelope depth and 0.7 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 Sine; -22 dB; width not used
Filter base / source resonance 564 Hz / 0.16
Filter A/D/S/R 0.005 / 0.32 / 0.08 / 0.25
Envelope / key / LFO depth 2.3 / 0.7 / 0 octaves
LFO rate 0 Hz
Filter input shape tanh(input × 1.4) / 1.4

For MoogFF, multiply the stated source resonance amount by four to obtain its 0–4 gain argument (limited to 3.95). The complete script gives this gain expression beside each cutoff.

Stage 3 — Add moving stereo chorus

Set ~soundStage = 3 in the full script. Move two delay taps around 12 ms by ±2.4 ms at 0.44 Hz, with opposite phases and 18% wet mix. Highpass only the wet inputs at 180 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.4 ms
Rate / wet 0.44 Hz / 18%
Wet highpass 180 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.579344 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.579344
Damping 0.71875
Predelay 12 ms
External room wet 17%
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 3.6 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 3.6 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.