Step 01 / 4
Build the first oscillator and touch contour #
Set giStage init 1 in the full script. Use saw at -6 dB with pulse width 50% when applicable. The contour has 0.005 s attack, 0.799 s exponential decay to 0.65 sustain and 0.114 s release. Multiply by velocity^2.5; this explicit power curve interprets the source velocity response. Keep the signal centered before adding effects.
| Csound control | Value |
|---|---|
| Source | Saw, -6.0 dB; width not used |
| Amplitude A/D/S/R | 0.005 / 0.799 / 0.65 / 0.114 |
| Amplifier / instrument | -6.0 dB / -6.0 dB |
| Velocity power | 2.5 |
Sound after step 1 — WebM/Opus
Next: Add the second oscillator and resonant contour →Step 02 / 4
Add the second oscillator and resonant contour #
Set giStage init 2 in the full script. Add rect at -12 dB, tuned by 0 octaves. Use a Low-pass 24dB/oct interpretation with 455 Hz base cutoff, 3.2 octave envelope depth and 0.5 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 1.7 Hz LFO, where enabled, restarts per score note rather than running freely.
| Csound control | Value |
|---|---|
| Second source | Rect; -12 dB; width 25 % |
| Filter base / resonance | 455 Hz / 0.52 |
| Filter A/D/S/R | 0.005 / 0.21 / 0.08 / 0.13 |
| Envelope / key / LFO depth | 3.2 / 0.5 / 0.12 octaves |
| LFO rate | 1.7 Hz |
| Filter input shape | tanh(input × 1.4) / 1.4 |
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 +3 dB drive with 70% 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 | 3 / -3 dB |
| Shaped mix | 70% |
| 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 3.05 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 | 3.05 dB |
| Width | Mono |
| Bass side cutoff | Off |
| DC removal | Order 2048 |
Sound after step 4 — WebM/Opus
Audio & settings ↓