# Three Octave Bass — 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.711981 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.

`LeakDC` uses coefficient 0.995. It replaces the longer-window Csound DC blocker, with a different low-frequency response and latency.

`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 — Stack the three octave 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. Use ratios 0.25, 0.5005 and 1 relative to the played pitch, each at −9.1 dB. These express global transposition −24 st with source ratios 1/2/4. The small middle offset interprets Fine 1. Use a 2 ms attack, full sustain, 44.9 ms release and −15 dB instrument gain.

| SuperCollider control | Value |
| --- | --- |
| Ratios / levels | 0.25 / 0.5005 / 1; −9.1 dB each |
| Amplitude | 2 ms attack, full sustain, 44.9 ms release |
| Instrument | −15 dB |

### Stage 2 — Drive a tracked closing lowpass

Set `~soundStage = 2` in the full script. Apply +12 dB smooth input drive and a 24 dB ladder lowpass. Its base is 1000 Hz, with full keyboard tracking, 0.3-octave velocity depth and a 1.44-octave envelope. A 2 ms rise and 2.2 s fall bring the initial brightness toward the darker body. The ladder replaces PRD with its own response.

| SuperCollider control | Value |
| --- | --- |
| Cutoff | 1000 × 2^(1.44 × envelope + (note−60)/12 + 0.3 × velocity) Hz |
| Contour | 2 ms / 2.2 s / zero / 44.9 ms |
| Filter drive / resonance | +12 dB / zero |

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 — Round the signal with saturation

Set `~soundStage = 3` in the full script. Use +12 dB drive with 100% shaped signal and -11 dB output trim. The smooth curve is `tanh(input × 3 × drive.dbamp) / 3`; the other portion stays clean. Louder peaks enter its curved region more strongly, adding harmonics and rounding the envelope. This interprets the source saturation curve rather than implementing its proprietary transfer function.

| SuperCollider control | Value |
| --- | --- |
| Drive / output | 12 / -11 dB |
| Shaped mix | 100% |
| Input DC removal | LeakDC, coefficient 0.995 |

## Connected instrument

The [full SuperCollider script](/tutorials/three-octave-bass/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/three-octave-bass/supercollider/settings/)
