# Three Octave Bass — 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 — Stack the three octave saws

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.

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

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.

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

### Stage 3 — Round the signal with saturation

Use +12 dB drive with 100% shaped signal and -11 dB output trim. The smooth curve is `tanh(input × 3 × ampdb(drive)) / 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.

| Csound control | Value |
| --- | --- |
| Drive / output | 12 / -11 dB |
| Shaped mix | 100% |
| Input DC removal | Order 2048 |

## Output and signal rates

The script uses 48000 Hz, 16-sample control blocks and stereo output. The fixed output-scale control is `1.74642` 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/three-octave-bass/csound/settings/)
