Synthlet
Effects
npm package

Dattorro Reverb

A Dattorro reverb effect from Faust library

This is a port of the Dattorro reverb from Faust to the Web Audio API. All credits to Jakob Zerbian.

import { ClaveDrum, DattorroReverb, registerWorklets } from "synthlet";
 
const audioContext = await registerWorklets(new AudioContext());
const reverb = DattorroReverb(audioContext, {
  mix: 0.5,
  time: 0.5,
  decay: 0.5,
  lowpass: 20000,
  highpass: 20,
});
 
const clave = ClaveDrum(audioContext);
clave.connect(reverb).connect(audioContext.destination);
clave.trigger = 1;

On this page

No Headings