# Falling Spectral Lead — 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 — Begin with the plain sine

Start from a sine carrier, a near-instant opening, full sustain and 400 ms release. Use −18 dB source gain and no filter, pitch movement or effects. The initial source isolates the fundamental before its harmonic layers are added.

| Csound control | Value |
| --- | --- |
| Carrier / gain | Sine, ratio 1 / −18 dB |
| Amplitude | 0.1 ms attack; full sustain; 400 ms release |

### Stage 2 — Build the parallel harmonic layers

Mix four independent sources. Truncated saw tables retain four, three and eight partials rather than using FM; the sine at ratio 4 reinforces the high even body. GEN10 tables use unnormalized 1/n coefficients. This keeps the harmonic construction explicit.

| Csound control | Value |
| --- | --- |
| A | Ratio 2; four-partial saw; −5 dB |
| B | Ratio 4; sine; −1 dB |
| C | Ratio 3; three-partial saw; −7 dB |
| D | Ratio 1; eight-partial saw; −18 dB |

### Stage 3 — Give every layer the same swell

Use a 145 ms attack, 1.10 s decay to −10 dB and 350 ms release. A shared linear contour represents the four matching source envelopes. Short notes release before the body develops; held notes settle into a quieter sustain.

| Csound control | Value |
| --- | --- |
| Amplitude A/D/S/R | 145 ms / 1.10 s / −10 dB / 350 ms |

### Stage 4 — Add the falling pitch contour

Start two semitones above each note and fall to its pitch over 1.10 seconds. A note-off release of 899 ms brings any remaining offset to zero. Every harmonic follows the same moving fundamental.

| Csound control | Value |
| --- | --- |
| Pitch | +2 → 0 semitones in 1.10 s |
| Pitch release | 899 ms |

### Stage 5 — Soften the spectrum and raise instrument gain

Use a 6200 Hz ladder lowpass with zero resonance, then set instrument gain to +2.5 dB. This interprets the source Clean 24 dB filter. Operator Tone and its small global spread are not separate controls here; chorus supplies the later stereo movement.

| Csound control | Value |
| --- | --- |
| Lowpass | 6200 Hz, resonance 0 |
| Instrument gain | +2.5 dB |

### Stage 6 — Add moving stereo chorus

Move two delay taps around 15 ms by ±4.4 ms at 0.65 Hz, with opposite phases and 20% 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 / ±4.4 ms |
| Rate / wet | 0.65 Hz / 20% |
| Wet highpass | Off |
| Width / feedback | 1 / 0 |
| Warmth shaping | 0% smooth-drive interpretation |

### Stage 7 — Add full-band stereo echoes

Use 939 ms left and 939 ms right, 32% feedback and 22% wet. Inject the centered input on the left and cross-feed the filtered echoes so later repeats alternate sides. Keep repeats full-band. Feedback values are updated once per 16-sample block, adding that small delay to the recirculating path. Held notes leave older colors behind the current tone.

| Csound control | Value |
| --- | --- |
| Times | 939 / 939 ms |
| Feedback / wet | 32% / 22% |
| Routing | Crossed, left input |
| Filter center / width | Off |
| Time LFO | 0 Hz, ±0% |

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

Feed the preceding signal through 12 ms predelay into `reverbsc`, with feedback 0.9209, 6000 Hz damping and 68% wet mix. Predelay leaves the initial articulation in front; feedback prolongs the tail, while damping darkens repeated circulation. The source room decay setting is 8.5 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 | 8.5 s (not a measured Csound decay) |
| Predelay / feedback | 12 ms / 0.9209 |
| Damping / wet | 6000 Hz / 68% |
| Room side multiplier | 1 |
| Room input cuts | Off |

### Stage 9 — Set the final width and gain

Use 0.5 dB gain after the effects. Scale the side signal by 0.85, preserving the center. Leave final DC removal off. The fixed output-scale control at the end of instrument 90 remains a separate Csound gain setting. Clear the shared note buses only after processing them; effect memories continue carrying their own tails.

| Csound control | Value |
| --- | --- |
| Final gain | 0.5 dB |
| Width | 0.85 × side |
| Bass side cutoff | Off |
| DC removal | Off |

## Output and signal rates

The script uses 48000 Hz, 16-sample control blocks and stereo output. The fixed output-scale control is `0.08914749` 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/falling-spectral-lead/csound/settings/)
