-
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
Description
Feature Request
Like with the Web Audio API, would like to be able to connect to the mic using createMediaStreamSource
, thus allowing the source to take an analyser from the audioContext as a parameter. The current Web Audio Api usage that I'm hoping you can replicate is roughly like this:
const analyser = audioContext.createAnalyser()
navigator.mediaDevices.getUserMedia(constraints)
.then(
function (stream) {
source = audioContext.createMediaStreamSource(stream);
source.connect(analyser);
})
Obviously the mediaDevices bit here is web specific and the native implementation would use the current microphone functionality.
This would be continuing to replicate the Web Audio API, so apologies if it's already on the roadmap. Thanks for everything, incredible work so far!