node-web-audio-api
node-web-audio-api copied to clipboard
ReadableStream or Readable from AudioContext
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.