playgrid.ccRead tutorial

Lo-Fi Bell — complete SuperCollider settings

Signal flow and implementation

~soundStage is compiled into the SynthDefs. Re-evaluate the complete block after changing it; source and effects are then replaced together. The fixed output multiplier ~soundOutputScale is 1.786586 and applies after the whole chain at every stage. It is separate from any final gain step.

EnvGen supplies the explicit linear or exponential contours. Exponential floors stay positive. Closing the gate begins each release; a separate silent lifetime envelope frees the note after the longest source release. Shared effects continue independently.

MoogFF replaces the ladder filter. Its gain argument is four times the source 0–1 resonance amount, limited to 3.95; it is a different circuit. Cutoffs are limited to 20–18000 Hz.

FreeVerb2 replaces the diffuse room with its own room and damping controls, both dimensionless. The per-stage values below are specific to this algorithm and do not specify a measured decay time or damping frequency.

~pgTriangle builds an odd-partial sine sum through harmonic 31. It replaces the source triangle oscillator; components at or above 22 kHz are muted.

Synthesis and effect controls

Stage 1 — Tune the three bell components

Select ~soundStage = 1 and evaluate the full script at the end of this guide. Wait for the instrument-ready message before playing. The triangle source is an explicit odd-harmonic sine sum through partial 31, with components at or above 22 kHz muted.

Set ~soundStage = 1 in the full script. Use triangles at +28 st/+30 cents and +30 st/−15 cents, at −21 and −24 dB. Add a sine one octave below the played pitch at −6 dB. Those unequal high intervals against the low foundation establish the bell character. The sine sub omits the source 12% tone coloration. Use 1 ms attack, 4.3 s decay to −38 dB and 350 ms release.

SuperCollider control Value
High tones +28 st +30 cents / +30 st −15 cents
Levels −21 / −24 / sub −6 dB
Sub Sine, octave down
Amplitude 1 ms / 4.3 s / −38 dB / 350 ms
Instrument / touch −7 dB / 50%

Stage 2 — Round the high tones with a fixed filter

Set ~soundStage = 2 in the full script. Use a 1650 Hz ladder lowpass at 0.34 resonance, with no note tracking or envelope movement. Higher bell components become softer as they rise beyond the fixed cutoff. This replaces PRD with a different resonant response.

SuperCollider control Value
Lowpass 1650 Hz, resonance 0.34
Tracking / modulation Off

For MoogFF, multiply the stated source resonance amount by four to obtain its 0–4 gain argument (limited to 3.95). The complete script gives this gain expression beside each cutoff.

Stage 3 — Surround the tone with a damped room

Set ~soundStage = 3 and evaluate the full block. Feed the preceding signal into FreeVerb2, using its fully wet output and the dry/wet routing shown in the script. The room continues after individual note envelopes release. Predelay separates the initial articulation from the diffuse tail; the external wet mix controls how far that tail moves forward.

The SuperCollider room value is 0.454262 and damping is 0.71875. These dimensionless settings are choices for this algorithm, rather than equivalent values for Ableton decay or Csound feedback and damping. More damping darkens the circulating highs. Any input filters and mid/side width changes in this stage retain their own explicit settings in the full script.

SuperCollider room control Value
FreeVerb2 internal mix 1, wet output only
Room 0.454262
Damping 0.71875
Predelay 8 ms
External room wet 44%
SuperCollider control Value
Room side multiplier 1
Room input cuts Off

Stage 4 — Add panning and digital grain

Set ~soundStage = 4 in the full script. Move the left and right gains oppositely at 1 Hz by ±22%. This moves the bell and preceding room together. The simple complementary gain model interprets Auto Pan without its additional shape controls. Hold incoming samples at 16000 Hz and round their amplitudes to 12 signed bits, then blend 40% of that branch with the direct tone. The held samples add staircase texture and the rounding roughens quieter portions. This simple clocked quantizer interprets Redux without its proprietary jitter or shaping behavior. No pre- or post-filter is added.

SuperCollider control Value
Panning 1 Hz sine; ±22% opposite channel gain
Hold rate 16000 Hz
Signed bits / wet 12 / 40%

Connected instrument

The full SuperCollider script contains the complete voice, shared effects, bus ordering and note helper. No external sample or third-party unit is required.