signal flow through the three effect rails
Effects are evaluated in a fixed chain. Each one is bypassable by its own toggle so you only pay the CPU cost of the effects you're using. Modulation targets on Cloud and Rings (position, size, structure, damping) are routable via the Quad LFO.
DRUM MIX knob, never touching
Cloud / Rings / RE-201. Dedicated drum FX are planned for a
future update.
granular VOICE -- pitch-locked to the main oscillator
Death Cloud is not a traditional "Clouds"-style granular processor. It doesn't record the synth signal and chop it up. It is a standalone granular voice that runs in parallel with the main oscillator pair and the SEM, re-pitched to whatever MIDI note the synth is currently sounding. Think of it as a third voice in the patch: OSC voice + SEM voice + Cloud voice form a trifecta of stacked layers.
Source material is a built-in 8-slot wavetable bank that the
POSITION knob scans through:
POSITION 0 .............................................. 1
sine tri saw square pulse harm-stack pink white
noise noise
Grains spawn only while a synth voice is gated — release the key and Cloud stops triggering new grains, letting the in-flight ones fade out via their Hann envelope. No capture buffer, no internal reverb, no diffusion tail (the tape echo & spring reverb on the summed bus handles all ambience).
| Param | Range | Default | Notes |
|---|---|---|---|
| CLOUD | OFF / ON | OFF | Master enable for the voice. |
| FREEZE | OFF / ON | OFF | Locks the current POSITION + SIZE values so parameter automation from the Quad LFO stops wiggling them. Doesn't freeze anything audio-side — there's no capture buffer to freeze. |
| POSITION | 0.0 → 1.0 | 0.0 (sine) | Scans through the 8-slot wavetable bank: sine → tri → saw → square → pulse → harmonic stack → pink noise → white noise. Bilinear interpolation between adjacent slots — the scan is continuous, never stepped. Routable modulation target. |
| SIZE | 20 ms → 500 ms (exp) | 0.5 | Grain length (Hann window). Short = percussive hash; long = smooth layered drone. Routable modulation target. |
| DENSITY | 3 → 120 gps (exp) | 0.5 | Grain trigger rate in grains/second. With up to 24 simultaneous grains, high DENSITY + long SIZE produces deep layered texture. |
| PITCH | ±36 st (snapped) | 0.5 (unison) | Pitch offset relative to the held note, quantised to whole semitones so the cloud never pulls out of tune. TEXTURE adds a tiny (~12 cent) per-grain detune for thickness. Use −12 for sub-octave drone layers, +12 for airy high harmonics. |
| TEXTURE | 0.0 → 1.0 | 0.3 | Controls per-grain randomness: wavetable-slot jitter (cross-blend smearing), length variance, tiny pitch detune, and trigger-timing jitter. 0 = mechanical, 1 = chaotic shimmer. |
| SPREAD | 0.0 → 1.0 | 0.5 | Stereo scatter around the PAN centre. At 0, every grain hits the same pan position; at 1, grains randomly scatter the full width. |
| FEEDBACK | 0.0 → 0.95 | 0.0 | Drives a short resonant comb filter on the cloud output (~22 ms L / ~26 ms R). At 0 = bypass; at high values the feedback builds up comb-tuned resonance for drone-friendly harmonic excitation. Tanh-limited internally so the loop is unconditionally stable. |
| PAN | 0.0 (L) → 1.0 (R) | 0.5 (centre) | Master pan for the whole cloud voice. SPREAD widens around this centre — e.g. PAN = 0.25 + SPREAD = 0.5 scatters grains around the left side. Replaces the old REVERB knob; ambience now lives on the tape echo. |
| MIX | 0.0 → 1.0 | 0.0 | Voice level into the main bus. Additive parallel mix:
dry synth continues at unity, cloud is added on top at
MIX × 0.9. The 0.9 scale leaves
headroom for the master soft-clip. |
Each audio block, SynthEngine::renderNextBlock
scans the synth voices and publishes the first active voice's
pitch into the shared ModulationBus:
// in SynthEngine::renderNextBlock, after synth.renderNextBlock(...) for (int v = 0; v < synth.getNumVoices(); ++v) if (auto* av = dynamic_cast<AlienVoice*> (synth.getVoice (v))) if (av->isActiveVoice()) { const float note = av->getCurrentMidiNote(); if (note > 0.5f) { modBus.currentNoteHz = 440.0f * std::pow (2.0f, (note - 69.0f) / 12.0f); modBus.noteActive = true; break; } }
AlienVoice::retriggerMono() directly,
bypassing juce::Synthesiser::startVoice(). That
means juce::SynthesiserVoice::isVoiceActive() and
getCurrentlyPlayingNote() both report "no note"
even while a voice is audibly playing. We use
AlienVoice's own isActive flag and
currentMidiNote field instead — both are set
in both startup paths, so the detection works uniformly
in mono and poly.
Computing Hz from the fractional MIDI note number lets a live glide sweep feed smoothly through to the grain pitch -- sliding between notes drags the cloud's grains along for a satisfying portamento effect on the drone layer.
Death Cloud reads currentNoteHz and
noteActive at the top of process().
When noteActive is false, the trigger counter halts
and no new grains spawn; already-playing grains continue
to their Hann-window terminus and shut off naturally. When
noteActive flips back to true, the counter resumes
and new grains at the new note frequency immediately replenish
the voice.
Per-grain pitch:
const float pitchRatio = std::pow (2.0f, pitchSemitones / 12.0f); const float grainHz = noteHz * pitchRatio; // from bus g.phaseInc = kWaveSize * grainHz / sr; // wavetable step
With the capture buffer gone, FEEDBACK now drives a
pair of short comb filters on the cloud output — left tap
at ~22 ms, right tap at ~26 ms so the feedback path has natural
stereo width without fighting the master PAN knob. At low
values it's barely audible; past ~0.5 it starts to colour the
voice with comb-tuned resonance; at 0.9+ it dissolves into
metallic self-oscillation that's great for drone building. The
inner sum goes through std::tanh so the loop can
never runaway even at extreme values.
As before, the summed grain output is normalised by
√N where N is the number of active
grains, scaled by 0.55 so the voice sits at a musical level
against the main oscillator path. This keeps perceived volume
stable whether 1 or 24 grains are stacked.
Each grain gets two independent per-channel pan gains
(panL / panR) computed once at trigger
time from PAN plus a random SPREAD
offset. Constant-power panning (cos/sin)
so you don't hear a volume dip as you sweep from side to side.
SPREAD = 0 makes every grain share the same master pan;
SPREAD = 1 scatters across the full width.
4-band resonant modal bank -- MI Rings × Cwejman RES-4 × Serge Resonant EQ
Death Rings is a 4-band resonant modal bank. Each band is a mini modal resonator with its own fundamental, bandwidth, and level — like a single channel of a Cwejman RES-4 crossed with a bank of strings from Mutable Instruments Rings. Narrow bandwidths push the band toward self-oscillation for Serge Resonant EQ-style formant / drone work. Four bands running in parallel produce richly layered multi-formant textures — vowel-like pads, metallic bells, sympathetic strings, and everything in between.
Each of the 4 bands has its own numbered enable button and three
knobs — FREQ, BW and
LVL. Only the enabled bands contribute to the
output; bands with their ON toggle off are skipped entirely
(zero CPU cost).
| Per-band control | Range | Default | Notes |
|---|---|---|---|
| 1 / 2 / 3 / 4 (ON) | OFF / ON | ON | Per-band enable. Disabling a band stops it from contributing to the mix. |
| FREQ | 16 Hz → 16 kHz (exp) | 80 / 250 / 800 / 2500 Hz | Band's fundamental. Its 12 modes stack above this as a (possibly inharmonic) harmonic series. Default values span the audible spectrum musically. |
| BW (bandwidth) | sharp (r~0.9998) → wide (r~0.88) | 0.35 | Sets the pole radius of every mode in the band. Minimum = near-self-oscillation (Serge REQ territory); maximum = gentle resonant colour. |
| LVL | 0.0 → 1.5 | 0.8 | Output gain for the band before the final summation. Boost past 1.0 if you want one band to dominate. |
| Param | Range | Default | Notes |
|---|---|---|---|
| RINGS | OFF / ON | OFF | Master bypass. |
| STRUCTURE | 0.0 → 1.0 | 0.0 | Amount of secondary-partial detune per band. At 0 each band is a single clean resonant peak; at 1 a second band-pass ~3% above the fundamental stacks on top for a chorused / slightly split-resonance flavour. The 3% cap keeps the aux inside the band — it never crosses into another band and therefore never introduces phase cancellation. Routable modulation target. |
| BRIGHT | 0.0 → 1.0 | 0.5 | Tilt shading across the four bands. 0.5 = all bands equal; below 0.5 boosts low bands; above 0.5 boosts high bands. Pure amplitude weighting, not a filter -- no phase twist. |
| DAMPING | 0.0 → 1.0 | 0.7 | Global ring-down multiplier. Pulls each band's effective pole radius toward 1.0, so the whole bank sustains longer without having to tweak every band's BW knob. Routable modulation target. |
| POSITION | 0.0 → 1.0 | 0.5 | Stereo ping-pong across bands. Alternating bands swap sides as the knob is turned, animating the bank across the stereo field. No delay or allpass -- just constant-power amplitude panning, so POSITION sweeps never cause inter-channel cancellation either. |
| INPUT | 0.0 → 1.0 (×0.3 → ×3.0) | 0.5 | Pre-drive into the filter bank. Saturates gracefully at the summation tanh stage -- useful for dirty string textures and aggressive formant tones. |
| FEEDBACK | 0.0 → 0.98 | 0.0 | Drives each band's effective pole radius toward the self-oscillation ceiling. No delay line, no comb filter — sustain comes entirely from each resonator ringing a little longer. This eliminates the fixed-period phase cancellation the old delay-based feedback loop would have caused against the band centres: you can now sweep FEEDBACK up smoothly and only hear more sustain, never a null. |
| MIX | 0.0 → 1.0 | 0.0 | Wet send level. Dry always flows through at unity; wet layers on top. |
This is the key choice that distinguishes Death Rings from typical multi-band EQs: it is not a crossover. Each band is a single band-pass cell receiving the full input signal; the four bands run independently in parallel and their outputs are summed additively with the dry path. Unlike complementary crossover designs (LP + HP + recombine), there is no phase-matched reconstruction requirement and therefore no null at crossover frequencies.
// per sample xL = (inL + fbL · feedback) · drive wetL = 0 for each band: if band.on: wetL += band.mainL(xL) · mainGain wetL += band.auxL(xL) · auxGain // secondary partial (STRUCTURE) wetL = tanh(wetL · 0.55) fbL.write(wetL) out = inL + wetL · mix
This is the Cwejman RES-4 / Serge Resonant EQ principle: additive boost of narrow resonant peaks, never complementary subtraction. Phase cancellation between bands is architecturally impossible here.
Each band has one primary resonator at its FREQ setting plus
one optional secondary detuned partial driven by
STRUCTURE. The aux offset is capped at +/-3% of
the fundamental so the secondary partial can never migrate
into a neighbouring band's centre -- phase safety is preserved
even with STRUCTURE at maximum.
// per band, once per block mainF = fundHz auxF = fundHz · (1 + 0.03 · structure) // < 50 cents detune at max auxGain = level · 0.5 · structure // disabled when structure = 0
Each band's BW knob maps linearly to a pole-radius value applied to every mode in that band, which DAMPING then pulls toward 1.0:
// per band, once per block bwR = 0.9998 - 0.12 · bwNorm dampingScale = 0.5 + damping · 0.5 r = clamp(0.85, 0.99985, 1 - (1 - bwR) · (1 - dampingScale · 0.4))
The 0.99985 cap keeps the filter numerically stable even at extreme settings; in practice you start hearing self-oscillation ring-outs around r = 0.998 when INPUT is driven hard enough.
Each band-pass cell is a 2-pole resonator; 4 bands × up to 2 cells each × 2 channels = 16 filter instances max (down from 48 in the previous harmonic-mode design).
w = 2π · freqHz / fs c1 = 2 · r · cos(w) c2 = -r² g = 1 - r² y[n] = g · x[n] + c1 · y[n-1] + c2 · y[n-2]
Previous versions stacked 12 harmonic partials per band. At band 1 (80 Hz) that placed resonators at 80 / 160 / 240 / 320 ... /960 Hz; band 2 (250 Hz) placed them at 250 / 500 / 750 ... -- bands inevitably shared resonator frequencies whenever the user swept one past another. When two resonators land on the same frequency with different Q settings their phase responses differ away from resonance, and the sum can swing through any phase relationship including full cancellation. That's what caused the audible nulls.
The fix is a topology change, not a coefficient tweak. Each band is now a single resonant cell (or a 1-plus-aux cluster that stays within 3% of the band's own centre). No two bands share resonator frequencies; swept bands can only stack additively, never subtract. This is exactly how the Cwejman RES-4 and Serge REQ behave — acoustic formant stacks, not crossover EQs.
The earlier build routed the wet sum through a ~17 ms comb delay. Because that delay had a fixed period, sweeping the knob created destructive interference at band frequencies that happened to coincide with comb nulls -- exactly the phase-cancellation artefact this module exists to avoid. The new design removes the delay line entirely and instead uses the knob to extend each resonator's ring-down directly:
feedbackDrive = FEEDBACK · 0.0025 r = clamp(0.85, 0.99985, 1 - (1 - bwR) · (1 - dampingScale · 0.4) + feedbackDrive)
At FEEDBACK = 0 the radius is whatever BW + DAMPING produce. Turning FEEDBACK up pulls it closer to the stability ceiling (0.99985), so every band rings longer without any loop ever traversing a fixed delay. The hard clamp guarantees the filter stays stable no matter how far the knob goes.
High-Q resonators accumulate tiny amounts of DC bias over long ring-downs (floating-point rounding at the ~0.9998 pole radius). A one-pole highpass on the wet output scrubs it:
R = 0.995
yDC = wet - prevIn + R · prevOut
Cutoff is ~7 Hz at 48 kHz -- well below the audio band but aggressive enough to keep DC from walking off and eating master-bus headroom on infinite-sustain settings.
ringsFreq and ringsTrackMidi
atomics are kept in the tree but no longer read by the DSP.
The 4 band slots initialise to the musical default spread
(80 / 250 / 800 / 2.5k Hz) if the preset doesn't include
Band children.
tape echo + spring reverb, inspired by Roland RE-201
Three virtual tape heads at 1×, 2×, and 3× the repeat rate, with wow & flutter LFOs modulating delay time, a soft-clipped feedback path with tape-style LP & HP colouration, user-controllable bass/treble, and a parallel Schroeder-style spring reverb tank. Six mode positions select which heads are active.
| Param | Range | Default | Notes |
|---|---|---|---|
| ECHO (bypass) | OFF / ON | ON | Master bypass for the whole RE-201 section. |
| MODE | R / 1 / 2 / 3 / 1+2 / ALL | ALL | Head activation:
|
| REPEAT | 30 ms → 900 ms | 0.35 | Base repeat time. Heads 2 and 3 play at 2× and 3× this value. |
| INTENSITY | 0.0 → 0.92 | 0.45 | Feedback. Hard-capped below runaway. |
| BASS | 0.0 → 1.0 (0.5 flat) | 0.5 | Tape user EQ: moves a high-pass filter from ~15 Hz (full) down to ~615 Hz (thin) on the echo output. |
| TREBLE | 0.0 → 1.0 (0.5 flat) | 0.5 | Low-pass that sweeps from ~1.5 kHz (dark) to ~18 kHz (bright) on the echo output. |
| WOW/FLTR | 0.0 → 1.0 | 0.25 | Depth of combined wow (slow ~0.4 Hz) and flutter (~6.3 Hz) modulation of the delay time. |
| ECHO VOL | 0.0 → 1.0 | 0.3 | Echo output level (added to dry). |
| REV VOL | 0.0 → 1.0 | 0.2 | Spring-reverb output level (added to dry). Fed from the dry input + a small echo-output bleed, so Reverb-Only mode still produces tails even when the heads are muted. |
Inside the feedback loop: soft-clip → fixed LP at ~3.6 kHz → fixed HP at ~90 Hz. This is the baked-in RE-201 character that exists independently of the user BASS/TREBLE controls, which sit on the echo output path.
4 parallel feedback combs followed by 2 series allpasses, per channel, with slight L/R offsets to widen the stereo field. Each channel has its own tank so mono sources properly diffuse to stereo.