node-web-audio-api icon indicating copy to clipboard operation
node-web-audio-api copied to clipboard

ReadableStream or Readable from AudioContext

Open noramass opened this issue 1 year ago • 3 comments

I want to stream the resulting audio post processing to discord for a sound bot.

So far i have not found a way to get binary data from the AudioContext object, raw, encoded or otherwise. In the examples directory I couldn't find any examples of exporting the audio to a file or a stream and while debugging i couldn't find a method to do so either. I tried using createMediaStreamDestination, like documented on MDN but that method doesn't seem to exist on AudioContext.

Can someone help me please? I would love to use this module in my project.

noramass avatar Jul 25 '23 17:07 noramass