playgrid.ccRead tutorial

Coral Isle — 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 0.09732015 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.

Ringz supplies damped modal resonances. A source Q is translated to a 60 dB decay time as Q × ln(1000) / (π × frequency). String modes retain stiffness, decay weighting, strike position and pickup weighting. Modal gains and excitation response differ from Tension, Electric, Collision and Csound mode filters; the fixed instrument gain belongs to this SuperCollider version.

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

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.

Synthesis and effect controls

Stage 1 — Excite a decaying string mode bank

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. Feed a 1.5 ms shaped pulse with a quiet noise component into sixteen string modes. The strike position is 0.28 of string length and the pickup position 0.22. Each mode is weighted by the sine of both positions, so moving the strike changes which harmonics are suppressed. A small stiffness term bends upper partials away from perfect harmonic ratios. The fundamental T60 is 3.4 s and upper modes decay faster. This modal bank interprets Tension rather than implementing its plectrum and string solver.

SuperCollider control Value
Strike / pickup 0.28 / 0.22 of length
Mode frequencies f × n × sqrt(1 + 0.00008 × n²), below 11000 Hz
Decay T60 / (1 + 0.08 × (n−1)^1.3)
Fundamental T60 3.4 s
Exciter lowpass 4300 Hz
String scaling / instrument 0.02 × (0.4 + 0.6 × velocity) / −10 dB

Stage 2 — Blend body modes and soften the string

Set ~soundStage = 2 in the full script. Use broad body resonances at 97, 193 and 450 Hz with Q values 8, 12 and 18. Blend 12% of their weighted sum with the string and lowpass at 7300 Hz. The body colors the lower spectrum rather than supplying a sustained oscillator. Natural mode tails continue after the short excitation; the script holds their state for twice the fundamental T60. Body size, damping and pickup geometry are represented by these explicit choices, not a numerical conversion of all Tension macros.

SuperCollider control Value
Body modes 97/193/450 Hz; Q 8/12/18
Body weights / scale 0.4/0.2/0.1 × 0.04
Body mix 12%
Lowpass 7300 Hz

The Q values describe the design targets: Ringz receives decay seconds computed as Q × ln(1000) / (π × frequency), not Q itself.

Stage 3 — Round the signal with saturation

Set ~soundStage = 3 in the full script. Use +1 dB drive with 30% shaped signal and -1 dB output trim. The smooth curve is tanh(input × 3 × drive.dbamp) / 3; the other portion stays clean. Louder peaks enter its curved region more strongly, adding harmonics and rounding the envelope. This interprets the source saturation curve rather than implementing its proprietary transfer function.

SuperCollider control Value
Drive / output 1 / -1 dB
Shaped mix 30%
Input DC removal LeakDC, coefficient 0.995

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.29377 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.29377
Damping 0.71875
Predelay 12 ms
External room wet 12%
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 23.1 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 23.1 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.