SpeechSynthesisRecorder
SpeechSynthesisRecorder copied to clipboard
Get audio output from window.speechSynthesis.speak() call as ArrayBuffer, AudioBuffer, Blob, MediaSource, MediaStream, ReadableStream, other object or data types
Chromium does not support capture of monitor devices by default https://bugs.chromium.org/p/chromium/issues/detail?id=1114422. Workarounds https://github.com/guest271314/captureSystemAudio.
``` .then(stream => navigator.mediaDevices.enumerateDevices() .then(devices => { const audiooutput = devices.find(device => device.kind == "audiooutput"); stream.getTracks().forEach(track => track.stop()) if (audiooutput) { const constraints = { deviceId: { exact: audiooutput.deviceId }...
Since this was not working on latest chrome 71, I downgraded to chrome 60. I see that this program is recording from microphone instead from speechSynthesis.speak(). I feel the reason...
Hey guest271314 - I've been using you're npm package for a project and thought I'd help make some improvements. I added a new option to the recorderOptions keyword argument. The...
I see that this does not work on latest version of chrome 71 because chrome 66 onwards, audiocontext() can be called only after user intervention, for example button click. I...
[Here](https://github.com/guest271314/SpeechSynthesisRecorder/blob/master/SpeechSynthesisRecorder.js#L48) you are adding an audio element to the DOM. IMO, an API like this should be less opinionated, in fact the whole `audioNode` property could be dropped.
the `utternanceOptions` param should be named to `utteranceOptions`