Stream - From Tone.UserMedia mediaStreamSourceNoce

PHOTO EMBED

Thu Jul 07 2022 00:06:20 GMT+0000 (Coordinated Universal Time)

Saved by @Polly

const userMedia = new Tone.UserMedia().toDestination();

userMedia.open().then(async (stream) => {
  this.toneMediaStream = stream._mediaStream.mediaStream;
});
content_copyCOPY

getting the stream property of the node (_stream is private and not accessible ) - this node also will act as <audio controls> for the audio-Blob

https://github.com/Tonejs/Tone.js/blob/f20fdce/Tone/source/UserMedia.ts#L93