drum
Drum — Drum synth (modal wrapper). body: kick/tom/hand-drum/cymbal/gong. hit: soft/medium/hard.
Quick Start
drum({ body: 'tom', hit: 'medium', gain: 0.5 })Parameters
| Name | Type | Default | Range/Options | Description |
|---|---|---|---|---|
body | enum | tom | kick tom hand-drum cymbal gong | Drum body: membrane family (kick/tom/hand-drum) or plate family (cymbal/gong) |
hit | enum | medium | soft medium hard | Strike intensity — maps to material (membrane: felt/skin/wood, plate: felt/nylon/metal) |
decay | number | — | 0.05–10 s | Decay time override |
gain | number | 0.5 | 0–1 0–1 | Output gain |