Recordy - скрипт записи аудио с браузера
Пример
https://github.com/scriptify/Recordy
const audioCtx = new AudioContext();
const r = new Recordy(audioCtx);
r.getInput()
.then(val => {
r.startRecording();
window.setTimeout(() => {
r.stopRecording(true)
.then(audio => {
audio.play();
});
}, 1000);
r.toSpeaker(0.4);
r.effects.bitcrusher.enable();
});
https://github.com/scriptify/Recordy