Ember Thump — 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 0.8708327 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.
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 -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 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.0005 / 0.46 / 0 / 0.15 |
| Instrument gain | -10 dB |
| Transpose | -12 st |
Stage 2 — Build the characteristic spectrum #
Set ~soundStage = 2 in the full script. 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.
| SuperCollider 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 #
Set ~soundStage = 3 in the full script. Use +4 dB drive with 75% shaped signal and -3 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 | 4 / -3 dB |
| Shaped mix | 75% |
| Input DC removal | LeakDC, coefficient 0.995 |
Stage 4 — Set the final width and gain #
Set ~soundStage = 4 in the full script. Use 0.25 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.25 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.