# Hammered Room Keys — 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 a pulse one octave above the note at −7 cents/−6 dB, a triangle two octaves above at −15 dB, and a quiet pulse at the played pitch at −27 dB. These fixed shapes interpret Basic Shapes positions and the colored sub rather than scan the original tables. The amplitude rises in 1 ms, decays over 1.4 s to −42 dB and releases over 250 ms.

| SuperCollider control | Value |
| --- | --- |
| Main source | Pulse, octave up, −7 cents, −6 dB |
| Upper / low layer | Triangle +24 st at −15 dB / pulse at −27 dB |
| Amplitude | 1 ms / 1.4 s / −42 dB / 250 ms |
| Instrument / touch | −3 dB / 50% |

## Later sound shaping

- Stage 2: Close the strike filter quickly.
- Stage 3: Round the signal with saturation.
- Stage 4: Surround the tone with a damped room.

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