Step 01 / 5
Strike the tone-bar modes #
Set giStage init 1 in the full script. A hammer pulse rises in 0.3 ms and then falls over 0.0018 seconds. Add 10% contact noise and lowpass the excitation at 4240 Hz, with velocity darkening gentler strikes. Modes at ratios 1 and 2.01 decay over 2.8 and 1.8 seconds. The contact duration and bandwidth give the two electric-key sounds different attacks. These resonances interpret Electric's tone bar and hammer rather than simulate its complete mechanics.
| Csound control | Value |
|---|---|
| Mode ratios / weights | 1 / 2.01; weights 0.75 / 0.18 |
| Modal T60 | 2.8 / 1.8 s |
| Strike bandwidth | 4240 × (0.5 + 0.5 × velocity) Hz |
| Modal scale | 0.02 |
| Instrument / touch | −12 dB / velocity^1.6 |
Sound after step 1 — WebM/Opus
Next: Blend the brighter tine and pickup response →Step 02 / 5
Blend the brighter tine and pickup response #
Set giStage init 2 in the full script. Add modes near ratios 6.98 and 10.03 with 1.36 s and 0.7 s decays. Weight them 0.45 and 0.15, then multiply by the tine blend 0.33. They put a brief bell-like edge above the tone bar. A velocity-dependent tanh curve interprets pickup nonlinearity before the shared effects. Pickup distance, symmetry, damping and release macros are not directly modeled; the script specifies its own contact, resonance and tail behavior.
| Csound control | Value |
|---|---|
| Tine ratios / decays | 6.98 / 10.03; 1.36 / 0.70 s |
| Tine blend | 0.33 |
| Pickup curve | tanh(tone × (1 + 2 × velocity)) / (1 + 2 × velocity) |
| Tail lifetime | 6 s beyond held duration |
Sound after step 2 — WebM/Opus
Next: Round the signal with saturation →Step 03 / 5
Round the signal with saturation #
Set giStage init 3 in the full script. Use +1.8 dB drive with 45% shaped signal and -2 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 | 1.8 / -2 dB |
| Shaped mix | 45% |
| Input DC removal | Order 2048 |
Sound after step 3 — WebM/Opus
Next: Surround the tone with a damped room →Step 04 / 5
Surround the tone with a damped room #
Set giStage init 4 in the full script. Feed the preceding signal through 12 ms predelay into reverbsc, with feedback 0.6211, 4500 Hz damping and 14% wet mix. Predelay leaves the initial articulation in front; feedback prolongs the tail, while damping darkens repeated circulation. The source room decay setting is 1.47 seconds, but Csound feedback is not a decay-time control: this is an interpretation of that space, with different diffusion and modulation.
| Csound control | Value |
|---|---|
| Source decay target | 1.47 s (not a measured Csound decay) |
| Predelay / feedback | 12 ms / 0.6211 |
| Damping / wet | 4500 Hz / 14% |
| Room side multiplier | 1 |
| Room input cuts | Off |
Sound after step 4 — WebM/Opus
Next: Set the final width and gain →Step 05 / 5
Set the final width and gain #
Set giStage init 5 in the full script. Use 11.7 dB gain after the effects. Scale the side signal by 1, preserving the center. 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 | 11.7 dB |
| Width | 1 × side |
| Bass side cutoff | Off |
| DC removal | Order 2048 |
Sound after step 5 — WebM/Opus
Audio & settings ↓