playgrid.ccRead tutorial

Ember Thump — 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 — Shape the sine body

Use a retriggered sine at -3.0 dB, transposed -12 semitones. Attack is 0.0005 seconds, exponential decay 0.46 seconds, sustain 0 and release 0.15 seconds. Positive exponential floors stand in for silence. The contour starts again for each score note; it differs from Operator's Trigger envelope behavior on very short held notes.

Csound control Value
Carrier Sine, phase 0
Amplitude A/D/S/R 0.0005 / 0.46 / 0 / 0.15
Instrument gain -10 dB
Transpose -12 st

Stage 2 — Build the characteristic spectrum

Add a 24-semitone opening pitch offset that falls to zero over 42 ms, then lowpass at 3200 Hz. The quick drop creates the kick punch while the decaying sine supplies the low body. The exact source circuit and low-level envelope behavior are represented by the explicit code in the full script.

Csound control Value
Added source / motion 24 st pitch drop, 42 ms
Filter 3.20 kHz
Filter type Lowpass

Stage 3 — Round the signal with saturation

Use +4 dB drive with 75% shaped signal and -3 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 4 / -3 dB
Shaped mix 75%
Input DC removal Order 2048

Stage 4 — Set the final width and gain

Use 0.25 dB gain after the effects. Average the channels for identical mono outputs. Apply order-2048 DC removal, using a longer window to limit low-note loss. 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.25 dB
Width Mono
Bass side cutoff Off
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 0.8999323 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 · Starting settings