npm.io
0.1.1 • Published 2 years ago

@synthlet/chorus-t

Licence
MIT
Version
0.1.1
Deps
0
Size
30 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

@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

Keywords