# Alder Well — 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.210759 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 — Build the sine body and touch response

Select `~soundStage = 1` and evaluate the full script at the end of this guide. Wait for the instrument-ready message before playing.

Begin with the voice SynthDef and the shared output the shared effects SynthDef from the full script. Set `~soundStage = 1` for the carrier alone. `SinOsc` contains one sine cycle; the carrier starts at phase zero for a repeatable attack.


The attack gate reaches full level in 1 ms. The exponential body falls to a near-silent floor over 1.10 seconds; releasing a held note starts a 350 ms fade from its current value. The floors are positive because exponential segments cannot end at zero. These curves interpret Operator's envelope rather than duplicate its internal shape.

Carrier gain is −3 dB before a −10 dB instrument gain. Velocity scales level by `0.4 + 0.6 × velocity`, so gentler strikes remain audible. The source is centered; stereo space arrives later.

### Stage 2 — Add a short FM edge and tracked lowpass

Set `~soundStage = 2`. Feed a second sine oscillator into the carrier's instantaneous frequency. This is a two-oscillator serial path: the modulator is not mixed directly into the output.


A ratio just above 3:1 gives the strike a slightly inharmonic edge. The 172 ms modulator decay removes the bright sidebands much sooner than the body fades. Modulator velocity response uses `0.3 + 0.7 × velocity`: stronger strikes raise brightness as well as volume. The factor 8 interprets the source's −12 dB modulator level into a explicit FM index; it is an interpretation, not a universal conversion for Operator levels. The explicit ratio approximates the source's Coarse 3 / Fine 17 setting.

Pass the result through `LPF` at `5330 × 2^(0.6 × (MIDI note − 60) / 12)` Hz, limited to 30–18000 Hz. This gives 60% pitch tracking around MIDI 60. It is a clean 12 dB/octave lowpass; the source's small resonance and Tone control are not modeled separately. No pitch sweep or LFO is added.

### Stage 3 — Round the transient with soft saturation

Set `~soundStage = 3`. Process the combined note bus through DC removal and a smooth saturation curve before the room. The shared bus lets overlapping notes drive the curve together.


Drive is +1.2 dB and the processed share is 40%. The factor 3 sets the curve's sensitivity; division by 3 preserves small-signal gain before the drive boost. The −1 dB output trim balances the result. Harder strikes round more strongly while soft strikes stay close to a sine. This tanh curve interprets the gentle Soft Sine color; it does not implement Ableton's proprietary transfer curve.

### Stage 4 — Surround the strike with a short stereo 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.540984 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.540984 |
| Damping | 0.71875 |
| Predelay | 8 ms |
| External room wet | 15% |

### Stage 5 — Apply the final output trim and DC removal

Set `~soundStage = 5` for the finished sound. Keep the room's stereo difference and trim both channels by −2.77 dB.


DC removal follows the nonlinear stage and room. There is no bass-mono or extra width process in this sound. Clear the shared note bus after each control block so only the current note samples feed the next pass. The result has an initial bright knock, a quieter pitched body and a short stereo tail.

## Connected instrument

The [full SuperCollider script](/tutorials/alder-well/supercollider/#full-supercollider-script) contains the complete voice, shared effects, bus ordering and note helper. No external sample or third-party unit is required.

[Read on playgrid.cc](https://playgrid.cc/tutorials/alder-well/supercollider/settings/)
