# Detuned Room Pad — complete SuperCollider settings

## Signal flow and implementation

`~soundStage` is compiled into the SynthDefs. Re-evaluate the complete block after changing it; source and effects are then replaced together. The fixed output multiplier `~soundOutputScale` is 1.162154 and applies after the whole chain at every stage. It is separate from any final gain step.

`EnvGen` supplies the explicit linear or exponential contours. Exponential floors stay positive. Closing the gate begins each release; a separate silent lifetime envelope frees the note after the longest source release. Shared effects continue independently.

`MoogFF` replaces the ladder filter. Its gain argument is four times the source 0–1 resonance amount, limited to 3.95; it is a different circuit. Cutoffs are limited to 20–18000 Hz.

`LocalIn`/`LocalOut` carry all feedback paths in a single multichannel loop. Recirculation adds one server processing block to each delay; changing block size therefore changes short comb/flanger tuning. `DelayC` uses seconds, converted from the millisecond tap values in the design.

`FreeVerb2` replaces the diffuse room with its own room and damping controls, both dimensionless. The per-stage values below are specific to this algorithm and do not specify a measured decay time or damping frequency.

`Saw` and `Pulse` use SuperCollider oscillator implementations and startup phases; they replace the source engines and do not scan proprietary wavetables.

## Synthesis and effect controls

### Stage 1 — Blend the slowly beating saws

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. Mix three saws at frequency ratios 1, 1.001 and 1.008 with gains −6, −10 and −6.7 dB. Use 885 ms attack, full sustain and 3 s release at −9 dB instrument gain. The explicit ratio offsets interpret Operator Fine values, which are not cents. Velocity does not alter this source.

| SuperCollider control | Value |
| --- | --- |
| Ratios | 1 / 1.001 / 1.008 |
| Levels | −6 / −10 / −6.7 dB |
| Amplitude | 885 ms attack; full sustain; 3 s release |
| Instrument | −9 dB |

### Stage 2 — Open a gentle tracked filter

Set `~soundStage = 2` in the full script. Use a 2800 Hz ladder lowpass with 0.01 resonance and full pitch tracking. Its contour rises in 92 ms, decays over 4.3 s to 0.72 and releases over 3 s. A chosen 0.9-octave depth interprets the source 15% amount. The filter opens before the slower amplitude peak, then settles into a softer sustained spectrum.

| SuperCollider control | Value |
| --- | --- |
| Cutoff / resonance | 2800 Hz base / 0.01 |
| Contour | 92 ms / 4.3 s / 0.72 / 3 s |
| Envelope / tracking | 0.9 octaves / 1 octave per octave |

For `MoogFF`, multiply the stated source resonance amount by four to obtain its 0–4 gain argument (limited to 3.95). The complete script gives this gain expression beside each cutoff.

### Stage 3 — Add moving stereo chorus

Set `~soundStage = 3` in the full script. Move two delay taps around 15 ms by ±9 ms at 0.6 Hz, with opposite phases and 52% wet mix. The wet inputs remain full-band. Scale side information by 1; tap feedback is 0. These explicit tap depths interpret the source Amount and ensemble movement rather than copy the internal algorithm. Sustained notes reveal slow pitch interference.

| SuperCollider control | Value |
| --- | --- |
| Tap center / excursion | 15 / ±9 ms |
| Rate / wet | 0.6 Hz / 52% |
| Wet highpass | Off |
| Width / feedback | 1 / 0 |
| Warmth shaping | 0% smooth-drive interpretation |

### Stage 4 — Surround the tone with a damped room

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.782951 and damping is 0.71875. 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.782951 |
| Damping | 0.71875 |
| Predelay | 8 ms |
| External room wet | 50% |

| SuperCollider control | Value |
| --- | --- |
| Room side multiplier | 1 |
| Room input cuts | Off |

## Connected instrument

The [full SuperCollider script](/tutorials/detuned-room-pad/supercollider/#full-supercollider-script) contains the complete voice, shared effects, bus ordering and note helper. No external sample or third-party unit is required.

[Read on playgrid.cc](https://playgrid.cc/tutorials/detuned-room-pad/supercollider/settings/)
