playgrid.ccRead tutorial

Smoke Veil — 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 — Build the first oscillator and touch contour

Use rect at -7 dB with pulse width 25% when applicable. The contour has 0.005 s attack, 2.08 s exponential decay to 0.15 sustain and 0.572 s release. Multiply by velocity^2; this explicit power curve interprets the source velocity response. Keep the signal centered before adding effects.

Csound control Value
Source Rect, -7.0 dB; width 25 %
Amplitude A/D/S/R 0.005 / 2.08 / 0.15 / 0.572
Amplifier / instrument -6.0 dB / -7.0 dB
Velocity power 2.0

Stage 2 — Add the second oscillator and resonant contour

Add sine at -22 dB, tuned by 1 octaves. Use a Low-pass 24dB/oct interpretation with 868 Hz base cutoff, 2.3 octave envelope depth and 0.7 octave-per-octave pitch tracking. The contour opens then settles quickly while the amplitude remains. Smooth input drive interprets Sym1; the ladder or second-order lowpass is a different circuit. The 0 Hz LFO, where enabled, restarts per score note rather than running freely.

Csound control Value
Second source Sine; -22 dB; width not used
Filter base / resonance 868 Hz / 0.16
Filter A/D/S/R 0.005 / 0.32 / 0.08 / 0.25
Envelope / key / LFO depth 2.3 / 0.7 / 0 octaves
LFO rate 0 Hz
Filter input shape tanh(input × 1.4) / 1.4

Stage 3 — Add moving stereo chorus

Move two delay taps around 12 ms by ±2.4 ms at 0.44 Hz, with opposite phases and 18% wet mix. Highpass only the wet inputs at 180 Hz to leave the direct low body clear. Scale side information by 1; tap feedback is 0. These explicit tap depths interpret the source Amount and ensemble movement rather than copy the internal algorithm. Sustained notes reveal slow pitch interference.

Csound control Value
Tap center / excursion 12 / ±2.4 ms
Rate / wet 0.44 Hz / 18%
Wet highpass 180 Hz
Width / feedback 1 / 0
Warmth shaping 0% smooth-drive interpretation

Stage 4 — Surround the tone with a damped room

Feed the preceding signal through 12 ms predelay into reverbsc, with feedback 0.6984, 4500 Hz damping and 17% 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.95 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.95 s (not a measured Csound decay)
Predelay / feedback 12 ms / 0.6984
Damping / wet 4500 Hz / 17%
Room side multiplier 1
Room input cuts Off

Stage 5 — Set the final width and gain

Use 2.31 dB gain after the effects. Scale the side signal by 1, preserving the center. 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 2.31 dB
Width 1 × side
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 1.898912 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