Dependencies

What Physics Playground's DSP imports: the nodes its source names (dark outline), then what they import. Arrows point to the imported node; this is a dependency graph, not a signal path.

Nodes

The 9 Maru DSP nodes it runs, by category. The compiled Program's source closure confirms the list.

Math

  • Range@maru/math-range

    Audio SDK-compatible f64 range policy: signed zero follows ECMAScript Math.min/Math.max, reversed bounds select the maximum, clamp propagates NaN and bounds infinities…

Mixing

  • Constant power pan@maru/mixing-constant-power-pan

    Constant-power pan law over a bipolar -1..1 position returning UNROUNDED doubles (`cos`/`sin` of `(pan + 1) * PI/4`), for voices that fold the pan into a per-voice constant gain…

  • Levels@maru/mixing-levels

    Shared level primitives: floored f64 linear-amplitude-to-decibels conversion, f32 equal-power crossfade/pan gains, and an allocation-free note-transition audio-edge blend.

Modulation

  • Slew@maru/modulation-slew

    Shared one-pole parameter smoothing and bounded scalar slew limiter for click-sensitive controls such as delay read positions.

Voices

  • FM keys@maru/voices-fm-keys

    Four-operator phase-modulation keyboard voice: six curated algorithms (0..5) with per-voice latched wiring, the stepped ratio table (harmonic, sqrt(2)-family inharmonic and five…

  • Mono performance@maru/voices-mono-performance

    Shared held-note selection and mono/legato retrigger decisions extracted from Vocoder and Phase 7.

  • Note stack@maru/voices-note-stack

    Held-note stack for mono and legato play modes: held flags, velocity, pitch, note identity and press order, with last, lowest or highest priority slot selection.

  • Portamento@maru/voices-portamento

    Exact-duration semitone glide extracted from Phase 7.

  • Stages@maru/voices-stages

    Per-sample voice stage primitives: PolyBLEP residual and sine/saw/square/triangle oscillator samples, phase advance, one-pole envelope coefficient/step with shared stage…