# Apricot Pulse — SuperCollider starting settings

## First-stage source

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`. Use `Pulse.ar` with a fixed pulse width of 0.32 and oscillator gain −7 dB. The unequal duty cycle supplies a hollow but bright harmonic shape.


Multiply the gate and exponential envelope. The gate rises over 5 ms; after that opening interval, the decay falls toward 0.15 over 1.40 s. Note-off starts a 420 ms exponential release to a quiet positive floor. Apply −6 dB amplifier gain and −7 dB instrument gain, then multiply by velocity squared. This explicit touch curve interprets Analog's velocity response rather than copying its internal scaling. The pulse remains centered, with no unison or glide.

## Later sound shaping

- Stage 2: Add an octave sine and a closing resonant lowpass.
- Stage 3: Give the keys a light stereo chorus.
- Stage 4: Place the keys in a compact room.
- Stage 5: Set the final gain and remove DC.

The fixed output multiplier `~soundOutputScale` is 1.086293. The connected [full script](/tutorials/apricot-pulse/supercollider/#full-supercollider-script) supplies all declarations and shared effects. [Complete settings](ALL_PARAMETERS.md) describe the SuperCollider-specific algorithms and their differences.

[Read on playgrid.cc](https://playgrid.cc/tutorials/apricot-pulse/supercollider/starting-state/)
