playgrid.ccRead tutorial

Porcelain Steps — 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 — Excite the marimba-like mode bank

Use a 2 ms mallet pulse with 15% contact noise, lowpassed at 5000 Hz. Feed ratios 1, 4, 10 and 19.9 with progressively shorter decays. The non-harmonic spacing and fast upper-mode decay give a hollow, wooden strike. This four-mode bank interprets Collision's Marimba model; it does not implement the original material or listening-position solver.

Csound control Value
Ratios / weights 1/4/10/19.9; weights 1/0.35/0.12/0.04
T60 per mode 1.5/0.8/0.4/0.2 s
Mallet / resonator / instrument −12 / −6 / −9 dB
Modal scale 0.04
Touch 0.4 + 0.6 × velocity

Stage 2 — Add the quieter upper beam

Mix a second set of modes at ratios 2, 5.52 and 10.8, with 450 ms decay and −24 dB gain. The beam adds a short higher edge without replacing the main struck body. The two banks receive the same excitation in parallel, matching the source's 1 + 2 signal-flow idea. Their explicit modal ratios interpret the beam's tuning and inharmonicity.

Csound control Value
Beam ratios / weights 2/5.52/10.8; 1/0.35/0.12
Beam T60 / gain 450 ms / −24 dB
Maximum modal frequency 11000 Hz
Natural tail lifetime 4 s beyond held duration

Stage 3 — Surround the tone with a damped room

Feed the preceding signal through 12 ms predelay into reverbsc, with feedback 0.6456, 4500 Hz damping and 18% wet mix. Predelay leaves the initial articulation in front; feedback prolongs the tail, while damping darkens repeated circulation. The source room decay setting is 1.6 seconds, but Csound feedback is not a decay-time control: this is an interpretation of that space, with different diffusion and modulation.

Csound control Value
Source decay target 1.6 s (not a measured Csound decay)
Predelay / feedback 12 ms / 0.6456
Damping / wet 4500 Hz / 18%
Room side multiplier 1
Room input cuts Off

Stage 4 — Set the final width and gain

Use -4.51 dB gain after the effects. Scale the side signal by 1, preserving the center. Highpass only the side at 160 Hz to focus the lowest frequencies. 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 -4.51 dB
Width 1 × side
Bass side cutoff 160 Hz
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 8.34671 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