mallet
Mallet — Physical-modelled mallet percussion (modal wrapper). body: marimba/xylophone/vibraphone/tubular-bells.
Quick Start
mallet({ body: 'marimba', material: 'wood', gain: 0.45 })Parameters
| Name | Type | Default | Range/Options | Description |
|---|---|---|---|---|
body | enum | marimba | marimba xylophone vibraphone tubular-bells | Resonator body (tonal character and decay) |
material | enum | wood | metal glass wood nylon felt skin | Mallet material (attack brightness and harmonic tilt) |
vibratoRate | number | 4.5 | 1–10 Hz | Vibrato rate (vibraphone only) |
vibratoDepth | number | 0.25 | 0–1 0–1 | Vibrato depth (vibraphone only) |
decay | number | — | 0.1–10 s | Decay time override |
gain | number | 0.45 | 0–1 0–1 | Output gain |