@audio/synth-risset
v1.1.3
Published
Risset drum — inharmonic partial set with exponential decay
Readme
@audio/synth-risset

Risset drum (inharmonic bell-drum)
npm install @audio/synth-rissetimport risset from '@audio/synth-risset'Risset drum: a fixed set of five inharmonic partials plus a sub-sine an octave below with slower decay, a simplified take on Risset's classic bell-drum catalogue. Amplitude-normalized to amp at the peak. Pitched — (freq, opts).
risset(100, { duration: 1.2 }) // → Float32Array| Param | Default | |
|---|---|---|
| freq | — | Hz (positional) |
| duration | 1.2 | Seconds |
| amp | 0.6 | Peak amplitude (post-normalization) |
| fs | 44100 | Sample rate |
Use when: a cheap inharmonic drum/bell hybrid distinct from the literature-grounded synth-modal.
Part of @audio/synth — the synth family umbrella.
MIT © audiojs
