Step 01 / 5
Shape a 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.
Use the ~pgSwarm function and voice SynthDef from the full script with ~soundStage = 1. Each voice is an odd-partial triangle from ~pgTriangle. Mix five voices at −17.7, −8.85, 0, +8.85 and +17.7 cents; divide their sum by five so adding voices does not multiply the source level.
Each oscillator drifts by ±1.2 cents at a slightly different slow rate. Those rates and the fixed pitch spacing make sustained notes beat and change color. The triangle cluster is an interpretation of Swarm Triangle: its detuning and drift values are explicit SuperCollider choices, not a conversion of Meld's Motion and Spacing macros.
Set engine A's linear envelope to 473 ms attack, 2.43 s decay, −4 dB sustain and 2.26 s release. Apply −10 dB engine gain and −8 dB instrument gain, with velocity scaling 0.5 + 0.5 × velocity. The mild tanh(signal × 1.1) / 1.1 drive rounds peaks before instrument gain. At this stage both output channels carry the same cluster, so movement comes from beating rather than stereo spread.
Sound after step 1 — WebM/Opus
Next: Add the slower octave bloom and stereo filtering →Step 02 / 5
Add the slower octave bloom and stereo filtering #
Set ~soundStage = 2. Offset engine A by −3.125 cents and engine B by +3.125 cents, on top of B's octave-up tuning. These small opposing offsets interpret the source's spread behavior.
For the cluster, use left weights 0.8, 0.7, 0.5, 0.3 and 0.2, with reversed weights on the right. Divide each sum by 2.5. Apply RLPF at 2070 Hz with reciprocal Q 1 / 1.2 to each channel, then multiply A's right channel by 0.85 for a slight left bias. This resonance is a SuperCollider choice, not the numeric Meld Q value.
Engine B is a sine with 1.10 s attack, 4 s decay, −6 dB sustain and 2.20 s release, followed by a 3600 Hz lowpass. Its −22 dB gain makes the octave layer quieter than A. Panning B to 0.625 places it slightly right, opposite A's bias. Add both engines before the mild drive. Long notes reveal B arriving after A, while the filtered triangles retain a soft, beating body.
Sound after step 2 — WebM/Opus
Next: Add moving, filtered cross-feedback echoes →Step 03 / 5
Add moving, filtered cross-feedback echoes #
Set ~soundStage = 3. In the shared effects SynthDef, use delay times centered on 340 ms left and 470 ms right. A shared 0.18 Hz LFO moves them by ±2%, in opposite directions. K2A converts the control-rate delay-time signal to audio rate.
Filter both delayed outputs before assigning the feedback signals. Use a moving center 1700 × 2^(0.04 × LFO) Hz, with a highpass at center / 2^1.5 and lowpass at center × 2^1.5. This interprets the source's delay filter as a three-octave passband. The filter motion is subtle; repeated echoes gradually lose lows and highs.
Cross-feed each filtered echo to the opposite delay at 30%, then mix 78% dry and 22% wet. The unequal paths and crossed repeats make the tail wander across the stereo field. The feedback assignment adds one control block to each feedback trip. This timing difference and the modulation scaling are SuperCollider-specific interpretations of the source's ping-pong delay.
Sound after step 3 — WebM/Opus
Next: Add a damped hall after the echoes →Step 04 / 5
Add a damped hall after the echoes #
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.803279 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.803279 |
| Damping | 0.8 |
| Predelay | 30 ms |
| External room wet | 20% |
Sound after step 4 — WebM/Opus
Next: Focus the bass and apply the output gain →Step 05 / 5
Focus the bass and apply the output gain #
Set ~soundStage = 5 for the finished sound. Convert the delay-and-hall mix to mid/side and highpass only the side at 160 Hz. Reconstruct both channels, apply +8.12 dB and remove DC.
Reducing low side energy gives the moving upper image a more stable bass center. The output gain follows every effect, so it raises the body and tails together. The shared effects Synth runs after the note group and carries the delay and reverb tail. The finished tone has a soft triangle body, a slower octave sheen and a wide, moving upper tail.
Sound after step 5 — WebM/Opus
Audio & settings ↓