# Polar Beacon — 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.

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 |

## Later sound shaping

- Stage 2: Add the slower octave and stereo filtering.
- Stage 3: Add filtered stereo echoes.
- Stage 4: Surround the tone with a damped room.
- Stage 5: Set the final width and gain.

The fixed output multiplier `~soundOutputScale` is 0.4205338. The connected [full script](/tutorials/polar-beacon/supercollider/#full-supercollider-script) supplies all declarations and shared effects. [Complete settings](ALL_PARAMETERS.md) describe the SuperCollider-specific algorithms and their differences.

[Read on playgrid.cc](https://playgrid.cc/tutorials/polar-beacon/supercollider/starting-state/)
