# Falling Spectral Lead — 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 0.05327541 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.

`~pgWave` uses the explicitly specified unnormalized harmonic coefficients. Each component is muted at or above 22 kHz rather than folded back into the spectrum.

## Synthesis and effect controls

### Stage 1 — Begin with the plain sine

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

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

Set `~soundStage = 2` in the full script. 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. The sine sums use unnormalized 1/n coefficients. This keeps the harmonic construction explicit.

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

Set `~soundStage = 3` in the full script. 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.

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

### Stage 4 — Add the falling pitch contour

Set `~soundStage = 4` in the full script. 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.

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

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

Set `~soundStage = 5` in the full script. 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.

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

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 6 — Add moving stereo chorus

Set `~soundStage = 6` in the full script. 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.

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

Set `~soundStage = 7` in the full script. 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 server processing block, adding that small delay to the recirculating path. Held notes leave older colors behind the current tone.

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

Set `~soundStage = 8` 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.935902 and damping is 0.625. 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.935902 |
| Damping | 0.625 |
| Predelay | 12 ms |
| External room wet | 68% |

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

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

Set `~soundStage = 9` in the full script. 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 `~soundOutputScale` gain follows the complete effect chain at every stage. The effects Synth reads the stereo bus after the note group, and continues through note releases.

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

## Connected instrument

The [full SuperCollider script](/tutorials/falling-spectral-lead/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/falling-spectral-lead/supercollider/settings/)
