playgrid.ccRead tutorial

Cinder Orbit — SuperCollider starting settings

First-stage source

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 −29.4, −14.7, 0, +14.7 and +29.4 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.

The wider ±29.4-cent cluster beats more strongly than a tightly spaced pair. Set engine A's linear envelope to 771 ms attack, 2.41 s decay, −4 dB sustain and 2.17 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.

Later sound shaping

  • Stage 2: Add the slower octave bloom and stereo filtering.
  • Stage 3: Add moving, filtered cross-feedback echoes.
  • Stage 4: Add a damped hall after the echoes.
  • Stage 5: Focus the bass and apply the output gain.

The fixed output multiplier ~soundOutputScale is 0.4545307. The connected full script supplies all declarations and shared effects. Complete settings describe the SuperCollider-specific algorithms and their differences.