Closed jamen closed 8 years ago
Would be useful for transformative functions, as well as audio devices. Might be a simple Readable wrapper.
Readable
I decided no, it is the plugins that should be the streams. For example:
fs.createReadStream('./foo.wav') .pipe(decodeWav()) .pipe(speaker);
You can use Audio#write and Audio#slice asynchronously anyways.
Audio#write
Audio#slice
Would be useful for transformative functions, as well as audio devices. Might be a simple
Readable
wrapper.