snare
Snare — FM + noise snare. gain / decay / tone (0 = noise, 1 = FM).
Quick Start
snare({ gain: 0.6, tone: 0.4 })Parameters
| Name | Type | Default | Range/Options | Description |
|---|---|---|---|---|
freq | number | 200 | 60–600 Hz | Body fundamental frequency |
gain | number | 0.7 | 0–1 0–1 | Output gain |
decay | number | 0.18 | 0.05–2 s | FM body decay time |
bodyTone | number | 0.4 | 0–1 0–1 | FM body vs noise mix (0 = all noise, 1 = all FM) |
body | enum | triangle | sine triangle saw square | Body oscillator type |
bend | number | 0.2 | 0–1 0–1 | Pitch drop amount |
pitchDecay | number | 0.05 | 0.005–0.5 s | Pitch drop duration |
snap | number | 0.6 | 0–1 0–1 | Bright noise tightness (0 = dark/loose, 1 = bright/tight) |
snapDecay | number | 0.08 | 0.01–1 s | Snappy noise decay time |
transient | number | 0.5 | 0–1 0–1 | Gaussian click transient amount |
transientFreq | number | 2000 | 500–8000 Hz | Click BPF center frequency |
dark | number | 0.5 | 0–1 0–1 | Dark noise layer amount |
hpf | number | 300 | 100–2000 Hz | Bright noise HPF cutoff |
drive | number | 0.3 | 0–1 0–1 | Post-mix saturation amount |
driveType | enum | soft | soft hard fold cubic | Drive curve type |
tilt | number | 0 | -1–1 −1–+1 | Tone tilt: −1 = low-heavy, +1 = high-bright |
noiseType | enum | white | white pink brown | Noise color |