0.1.1 • Published 4 months ago
@synthlet/chorus-t v0.1.1
@synthlet/chorus-t
Chorus (based on TAL Noisemaker) audio effect
Part of synthlet modular synthesis.
import { registerChorusWorklet, createChorus } from "synthlet"; // or "@synthlet/chorus-t";
const audioContext = new AudioContext();
await registerChorusWorklet(audioContext);
const osc = new Oscillator(audioContext, { frequency: 440 });
osc.start();
const chorus = createChorus(audioContext);
osc.connect(chorus).connect(audioContext.destination);
References
The implementation of this Chorus is based on TAL-Noisemaker