Mixing
Gains, levels, constant-power panning and dry/wet mixing. 9 nodes. Filter them in Explore.
- Constant
@maru/mixing-constant
Bounded constant/DC source for modulation graphs and cross-lane parity probes.
Mixing- JavaScript: Available
- WebAssembly: Builds
- C: Builds
- Native macOS: Builds
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- 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…
Mixing- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Control gain
@maru/mixing-control-gain
Control-to-gain mapping law (rectify, normalize, optional invert, power curve, bounded min/max range) and the VCA that applies it.
Mixing- JavaScript: Available
- WebAssembly: Builds
- C: Builds
- Native macOS: Builds
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Gain
@maru/mixing-gain
Bounded linear output-gain stage as a per-channel double multiply over one shared parameter state.
Mixing- JavaScript: Available
- WebAssembly: Builds
- C: Builds
- Native macOS: Builds
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Gain db
@maru/mixing-gain-db
Bounded decibel gain with a mute gate, using the canonical dB-to-linear conversion.
Mixing- JavaScript: Available
- WebAssembly: Builds
- C: Builds
- Native macOS: Builds
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Key velocity response
@maru/mixing-key-velocity-response
Register-interpolated gain and velocity exponent for reusable instrument response calibration.
Mixing- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- 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.
Mixing- JavaScript: Available
- WebAssembly: Builds
- C: Builds
- Native macOS: Builds
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Mix
@maru/mixing-mix
Two-input mix operator: sum, linear dry/wet, equal-power crossfade and ring modulation with an equal-shape dry/wet.
Mixing- JavaScript: Available
- WebAssembly: Builds
- C: Builds
- Native macOS: Builds
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Velocity
@maru/mixing-velocity
Velocity laws for sample players: the f32 squared playback gain, the MIDI byte a normalized velocity selects layers with (`floor(clamp(v * 127) + 0.5)`), and the equal-power…
Mixing- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental