Step 01 / 4
Shape the sine body #
Set giStage init 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 score note; it differs from Operator's Trigger envelope behavior on very short held notes.
| Csound 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 |
Sound after step 1 — WebM/Opus
Next: Build the characteristic spectrum →Step 02 / 4
Build the characteristic spectrum #
Set giStage init 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.
| Csound control | Value |
|---|---|
| Added source / motion | 24 st pitch drop, 42 ms |
| Filter | 3.20 kHz |
| Filter type | Lowpass |
Sound after step 2 — WebM/Opus
Next: Round the signal with saturation →Step 03 / 4
Round the signal with saturation #
Set giStage init 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 × ampdb(drive)) / 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.
| Csound control | Value |
|---|---|
| Drive / output | 4 / -3 dB |
| Shaped mix | 75% |
| Input DC removal | Order 2048 |
Sound after step 3 — WebM/Opus
Next: Set the final width and gain →Step 04 / 4
Set the final width and gain #
Set giStage init 4 in the full script. Use 0.25 dB gain after the effects. Average the channels for identical mono outputs. 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 | 0.25 dB |
| Width | Mono |
| Bass side cutoff | Off |
| DC removal | Order 2048 |
Sound after step 4 — WebM/Opus
Audio & settings ↓