# Detuned Room Pad — complete Csound settings

## Note and effect connections

Instrument 1 uses p3 for held seconds, p4 for MIDI pitch and p5 for velocity from 0 to 1. Its left and right outputs accumulate on shared buses. Instrument 90 processes the buses once per control block, clears the inputs and keeps effect memories active through the tails. Envelopes with release segments extend the note automatically. The score is an audible pitch-and-touch example; the synthesis controls are independent of its particular notes.

## Csound interpretation

These are explicit Csound models, not identical implementations of the Ableton devices. Wavetable positions, proprietary oscillator engines, physical-model macros, filter circuits, envelope slopes and effect algorithms can differ. Modulation depths are specified in octaves, cents or milliseconds rather than treated as universally interchangeable matrix values. Controller inputs such as pitch bend, modulation wheel, pressure and per-note expression are not mapped. Independent score notes do not implement Live's monophonic note-priority or legato system. Any pitch memory or drift included in this instrument is described in its steps.



## Signal path and controls

### Stage 1 — Blend the slowly beating saws

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.

| Csound 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

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.

| Csound 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 |

### Stage 3 — Add moving stereo chorus

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.

| Csound 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

Feed the preceding signal through 8 ms predelay into `reverbsc`, with feedback 0.8276, 4500 Hz damping and 50% wet mix. Predelay leaves the initial articulation in front; feedback prolongs the tail, while damping darkens repeated circulation. The source room decay setting is 3.7 seconds, but Csound feedback is not a decay-time control: this is an interpretation of that space, with different diffusion and modulation. 

| Csound control | Value |
| --- | --- |
| Source decay target | 3.7 s (not a measured Csound decay) |
| Predelay / feedback | 8 ms / 0.8276 |
| Damping / wet | 4500 Hz / 50% |
| Room side multiplier | 1 |
| Room input cuts | Off |

## Output and signal rates

The script uses 48000 Hz, 16-sample control blocks and stereo output. The fixed output-scale control is `0.6247424` and follows the whole chain at every stage, separate from any final gain step. DC-removal blocks, where enabled, use order 2048 to limit low-note attenuation; they add processing delay.

[Build guide and full script](BUILD_GUIDE.md#full-csound-script) · [Starting settings](STARTING_STATE.md)

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