This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| 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 |