Flint Snap — 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.234493 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.
LeakDC uses coefficient 0.995. It replaces the longer-window Csound DC blocker, with a different low-frequency response and latency.
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.
Synthesis and effect controls #
Stage 1 — Shape the sine body #
Select ~soundStage = 1 and evaluate the full script at the end of this guide. Wait for the instrument-ready message before playing.
Set ~soundStage = 1 in the full script. Use a retriggered sine at -8.0 dB, transposed 0 semitones. Attack is 0.0003 seconds, exponential decay 0.11 seconds, sustain 0 and release 0.08 seconds. Positive exponential floors stand in for silence. The contour starts again for each played note; it differs from Operator's Trigger envelope behavior on very short held notes.
| SuperCollider control | Value |
|---|---|
| Carrier | Sine, phase 0 |
| Amplitude A/D/S/R | 0.0003 / 0.11 / 0 / 0.08 |
| Instrument gain | -12 dB |
| Transpose | 0 st |
Stage 2 — Build the characteristic spectrum #
Set ~soundStage = 2 in the full script. Add a separately decaying white-noise layer at −5 dB with 190 ms decay and 100 ms release. Highpass the combined body at 160 Hz, leaving a pitched knock underneath the noise snap. The exact source circuit and low-level envelope behavior are represented by the explicit code in the full script.
| SuperCollider control | Value |
|---|---|
| Added source / motion | White noise: −5 dB; 190 ms decay |
| Filter | 160 Hz |
| Filter type | Highpass |
Stage 3 — Round the signal with saturation #
Set ~soundStage = 3 in the full script. Use +3 dB drive with 60% shaped signal and -2 dB output trim. The smooth curve is tanh(input × 3 × drive.dbamp) / 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.
| SuperCollider control | Value |
|---|---|
| Drive / output | 3 / -2 dB |
| Shaped mix | 60% |
| Input DC removal | LeakDC, coefficient 0.995 |
Stage 4 — Surround the tone with a damped room #
Set ~soundStage = 4 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.15 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.15 |
| Damping | 0.71875 |
| Predelay | 5 ms |
| External room wet | 9% |
| SuperCollider control | Value |
|---|---|
| Room side multiplier | 1 |
| Room input cuts | Off |
Stage 5 — Set the final width and gain #
Set ~soundStage = 5 in the full script. Use -0.77 dB gain after the effects. Average the channels for identical mono outputs. Apply LeakDC DC removal with coefficient 0.995. The fixed ~soundOutputScale gain follows the complete effect chain at every stage. The effects Synth reads the stereo bus after the note group, and continues through note releases.
| SuperCollider control | Value |
|---|---|
| Final gain | -0.77 dB |
| Width | Mono |
| Bass side cutoff | Off |
| DC removal | LeakDC, coefficient 0.995 |
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.