webaudio-tools
Useful tools for WebAudio.
npm i webaudio-tools
|
pnpm add webaudio-tools
|
yarn add webaudio-tools
|
API
create(context, options) =>
-
Promise<PipeNode>
create(context, options) =>
-
Promise<SilenceDetectorNode>
# createMidiEvent
(time, data)
# createMidiNoteEvents
(time, note, velocity, length)
# fetchAudioBuffer
(ctx, url)
# fftLogIndexer
(minFreq, maxFreq, sampleRate, fftSize)
Credits
- pipe-processor by stagas – AudioWorklet that pipes its output to a given message port.
Contributing
All contributions are welcome!