# Smoke Veil — 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.

Set `~soundStage = 1` in the full script. Use rect at -7 dB with pulse width 25% when applicable. The contour has 0.005 s attack, 2.08 s exponential decay to 0.15 sustain and 0.572 s release. Multiply by velocity^2; this explicit power curve interprets the source velocity response. Keep the signal centered before adding effects.

| SuperCollider control | Value |
| --- | --- |
| Source | Rect, -7.0 dB; width 25 % |
| Amplitude A/D/S/R | 0.005 / 2.08 / 0.15 / 0.572 |
| Amplifier / instrument | -6.0 dB / -7.0 dB |
| Velocity power | 2.0 |

## Later sound shaping

- Stage 2: Add the second oscillator and resonant contour.
- Stage 3: Add moving stereo chorus.
- Stage 4: Surround the tone with a damped room.
- Stage 5: Set the final width and gain.

The fixed output multiplier `~soundOutputScale` is 3.163254. The connected [full script](/tutorials/smoke-veil/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/smoke-veil/supercollider/starting-state/)
