Skip to content

Instantly share code, notes, and snippets.

View theroman's full-sized avatar

Roman Paskin theroman

  • Tel Aviv, Israel
View GitHub Profile
@theroman
theroman / recorderWorkletProcessor.js
Created May 28, 2021 14:01 — forked from flpvsk/recorderWorkletProcessor.js
An example of a multi-channel recorder based on AudioWorklet API.
/*
A worklet for recording in sync with AudioContext.currentTime.
More info about the API:
https://developers.google.com/web/updates/2017/12/audio-worklet
Based on @flpvsk implementation, addapted to use with multi-channeled audio streams.
For a full example of my use look here:
https://github.com/theroman/Sample/blob/master/js/external/recorder/recorder.js