playgrid.ccRead tutorial

Amber Lantern — complete Csound settings

Signal flow and interpretation

Three saw/triangle voices plus centered sub → serial notch and lowpass → shared saturation → filtered ping-pong delay → gain and DC removal.

The Ableton version supplies the envelope times, source levels and effect mix settings. Saw and triangle waveforms interpret the two Basic Shapes positions; their spectra, envelope slopes, resonance and saturation differ. The notch envelope and velocity depth use explicit octave amounts, not a universal conversion from matrix units. Mono-legato note priority, pitch bend and modulation-wheel input are not implemented. The small second-filter resonance is omitted.

Instrument and effect controls

Control Csound value
Stage 1 sources Three saws; −9 dB each; offsets −5/0/+5 cents; phases 0.11/0.39/0.72
Unison channel weights Left 0.8/0.5/0.2, right reversed; each sum / 1.5
Amplitude Linear 4.40 ms / 643 ms / −4 dB / 191 ms
Instrument / touch −6 dB × (0.4 + 0.6 × velocity)
Glide portk half-time 40 ms; starts at the previous target
Second source from stage 2 Triangle per voice; −13 dB; +5 cents
Sub from stage 2 Centered sine; octave down; −18 dB
Notch envelope Linear 20 ms / 1.10 s / 20% / 300 ms
Notch 1090 × 2^(−0.8 × envelope) Hz; bandwidth center / 1.2
Lowpass 6800 × 2^(0.35 × velocity) Hz; limited to 30–18000 Hz
Saturation from stage 3 DC removal; tanh(input × 3 × ampdb(3.1)) / 3; 70% wet; −3 dB trim
Delay from stage 4 267 ms per side; 24% crossed feedback; 18% wet; left-only input injection
Delay filters 1800 Hz center; highpass center / 2^1.75; lowpass center × 2^1.75
Final stage 5 +5.80 dB; stereo retained; DC removal

Opcode references

butterbr uses a notch center and bandwidth in hertz. vco2 supplies the band-limited waveforms. The feedback signals in the full script are filtered before they recirculate.

Full script and stage selector

The full script contains options, both instrument definitions and an example score. Instrument 1 uses p3 for held seconds, p4 for MIDI pitch and p5 for velocity from 0 to 1. Instrument 90 reads the shared note buses and clears them after processing each control block. Keep it active while notes or effect tails sound. The stage selector is cumulative.

Starting settings · Build guide

DC-blocking window

DC removal uses dcblock2 with order 2048. This longer window limits low-note attenuation compared with its default order of 128, while adding processing delay. The same filtered signal feeds both the clean and shaped saturation paths, keeping those paths aligned.