# Indigo Arc — 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.48384 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.

`RLPF` uses reciprocal Q, set to 1 divided by the source Q. It replaces the two-pole resonant lowpass rather than reproduce its nonlinearities.

`LeakDC` uses coefficient 0.995. It replaces the longer-window Csound DC blocker, with a different low-frequency response and latency.

`LocalIn`/`LocalOut` carry all feedback paths in a single multichannel loop. Recirculation adds one server processing block to each delay; changing block size therefore changes short comb/flanger tuning. `DelayC` uses seconds, converted from the millisecond tap values in the design.

`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.

`~pgTriangle` builds an odd-partial sine sum through harmonic 31. It replaces the source triangle oscillator; components at or above 22 kHz are muted.

## Synthesis and effect controls

### Stage 1 — Build the detuned source and amplitude contour

Select `~soundStage = 1` and evaluate the full script at the end of this guide. Wait for the instrument-ready message before playing. The triangle source is an explicit odd-harmonic sine sum through partial 31, with components at or above 22 kHz muted.

Set `~soundStage = 1` in the full script. Use 3 odd-partial triangle voices at -10 dB each, spread by 10.8 cents between adjacent voices. Reverse the stereo weights across the channels. The amplitude opens in 1.18 seconds, decays over 2.62 seconds to 0.794328, and releases over 3.04 seconds. Basic Shapes is represented by this explicit waveform; Shimmer, where present, becomes slow independent pitch drift rather than the original unison engine.

| SuperCollider control | Value |
| --- | --- |
| Sources | 3 × triangle, -10 dB |
| Adjacent pitch spacing | 10.8 cents |
| Amp A/D/S/R | 1.18 s / 2.62 s / 0.794328 / 3.04 s |
| Instrument gain | -9 dB |
| Velocity multiplier | 0.4 + 0.6 × velocity |

### Stage 2 — Blend the second source and animate the filters

Set `~soundStage = 2` in the full script. Add a triangle layer at -20 dB, 7 semitones and 0 cents. Add the quieter octave-down sine sub. The lowpass center starts from 1610 Hz and moves by 0.9 octaves under the second envelope. A positive depth opens the spectral ceiling; a negative depth moves the notch downward. The serial second filter keeps the specified high or low edge under control. Exact wavetable morphing, Warp/Fold and free-running source modulation are not implemented; the code below defines the chosen static spectra and note-local drift.

| SuperCollider control | Value |
| --- | --- |
| Secondary layer | triangle, -20 dB; 7 st; 0 cents |
| Filter 1 | Lowpass, 1610 Hz base, 0.9 octave depth |
| Filter contour | 2.2 / 3.3 / 0.65 / 3.5 |
| Filter 2 | Highpass at 95.0 Hz |
| Pulse width | Not used |

### Stage 3 — Add moving stereo chorus

Set `~soundStage = 3` in the full script. Move two delay taps around 20 ms by ±4.6 ms at 0.38 Hz, with opposite phases and 24% wet mix. Highpass only the wet inputs at 200 Hz to leave the direct low body clear. Scale side information by 1.1; tap feedback is 0. These explicit tap depths interpret the source Amount and ensemble movement rather than copy the internal algorithm. Sustained notes reveal slow pitch interference.

| SuperCollider control | Value |
| --- | --- |
| Tap center / excursion | 20 / ±4.6 ms |
| Rate / wet | 0.38 Hz / 24% |
| Wet highpass | 200 Hz |
| Width / feedback | 1.1 / 0 |
| Warmth shaping | 12% smooth-drive interpretation |

### Stage 4 — Surround the tone with a damped 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.813934 and damping is 0.79375. 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.813934 |
| Damping | 0.79375 |
| Predelay | 25 ms |
| External room wet | 28% |

| SuperCollider control | Value |
| --- | --- |
| Room side multiplier | 1 |
| Room input cuts | Off |

### Stage 5 — Set the final width and gain

Set `~soundStage = 5` in the full script. Use 3.44 dB gain after the effects. Scale the side signal by 1.05, preserving the center. Highpass only the side at 180 Hz to focus the lowest frequencies. Apply `LeakDC` DC removal with coefficient 0.995. The fixed `~soundOutputScale` gain follows the complete effect chain at every stage. The effects Synth reads the stereo bus after the note group, and continues through note releases.

| SuperCollider control | Value |
| --- | --- |
| Final gain | 3.44 dB |
| Width | 1.05 × side |
| Bass side cutoff | 180 Hz |
| DC removal | LeakDC, coefficient 0.995 |

## Connected instrument

The [full SuperCollider script](/tutorials/indigo-arc/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/indigo-arc/supercollider/settings/)
