Step 01 / 5
Build the drifting triangle cluster #
Select ~soundStage = 1 and evaluate the full script at the end of this guide. Wait for the instrument-ready message before playing. The triangle source is an explicit odd-harmonic sine sum through partial 31, with components at or above 22 kHz muted.
Set ~soundStage = 1 in the full script. Use five triangle voices spread across ±24 cents, with independent sine drift of ±2.8 cents. Their different phases and slow rates make the held spectrum beat. Use engine gain −10 dB, amplitude attack 0.65 s, decay 3.2 s to −4 dB and release 1.9 s. A −8 dB instrument gain and 50% velocity response follow mild smooth drive. Spacing and motion are explicit SuperCollider choices for the source macros.
| SuperCollider control | Value |
|---|---|
| Triangle offsets | −24, −12, 0, +12, +24 cents |
| Drift | ±2.8 cents; 0.12 + abs(offset) × 0.005 Hz |
| A contour | 0.65 / 3.2 / −4 dB / 1.9 s |
| Engine / instrument gain | −10 / −8 dB |
Sound after step 1 — WebM/Opus
Next: Add the slower octave and stereo filtering →Step 02 / 5
Add the slower octave and stereo filtering #
Set ~soundStage = 2 in the full script. Enable the octave-up sine at −22 dB and +3.125 cents. Give it an independent 1.10 s attack, 4 s decay to −6 dB and 2.20 s release. Filter the triangle channels at 2600 Hz with Q 1.2; reverse the voice weights across the channels, bias A slightly left and B right. The octave enters later than the main cluster and can remain after its release. This interprets Basic Shapes and SVF rather than scanning the original engines.
| SuperCollider control | Value |
|---|---|
| A lowpass | 2600 Hz, Q 1.2 |
| B pitch / level | 2 × note frequency, +3.125 cents / −22 dB |
| B contour | 1.10 / 4.00 / −6 dB / 2.20 s |
| Stereo voice weights | 0.8/0.7/0.5/0.3/0.2, reversed right; sum / 2.5 |
Sound after step 2 — WebM/Opus
Next: Add filtered stereo echoes →Step 03 / 5
Add filtered stereo echoes #
Set ~soundStage = 3 in the full script. Use 340 ms left and 470 ms right, 30% feedback and 22% wet. Inject the centered input on the left and cross-feed the filtered echoes so later repeats alternate sides. Filter each echo around 1700 Hz, with a 3-octave interval between highpass and lowpass cutoffs. A shared 0.18 Hz sine moves times by ±2% and the filter center by ±0.04 octaves. Feedback values are updated once per server processing block, adding that small delay to the recirculating path. Held notes leave older colors behind the current tone.
| SuperCollider control | Value |
|---|---|
| Times | 340 / 470 ms |
| Feedback / wet | 30% / 22% |
| Routing | Crossed, left input |
| Filter center / width | 1700 Hz / 3 octaves |
| Time LFO | 0.18 Hz, ±2% |
Sound after step 3 — WebM/Opus
Next: Surround the tone with a damped room →Step 04 / 5
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.752295 and damping is 0.8. 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.752295 |
| Damping | 0.8 |
| Predelay | 30 ms |
| External room wet | 20% |
| SuperCollider control | Value |
|---|---|
| Room side multiplier | 1 |
| Room input cuts | Off |
Sound after step 4 — WebM/Opus
Next: Set the final width and gain →Step 05 / 5
Set the final width and gain #
Set ~soundStage = 5 in the full script. Use 16.5 dB gain after the effects. Scale the side signal by 1, preserving the center. Highpass only the side at 160 Hz to focus the lowest frequencies. 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 | 16.5 dB |
| Width | 1 × side |
| Bass side cutoff | 160 Hz |
| DC removal | LeakDC, coefficient 0.995 |
Sound after step 5 — WebM/Opus
Audio & settings ↓