Incorporate support for audio output
suever opened this issue · comments
Jonathan Suever commented
MATL now has an implementation of sound
, soundsc
, and audiowrite
to produce audio output. They need to be overloaded in our .octaverc
file so that an mp3 file is generated on the server and then streamed back to the client. Each separate sound should appear as it's own <audio>
block which will automatically get the browser's native audio controller.
Luis Mendo commented
If I recall correctly, soundsc
calls sound
to produce the actual sound. So no need to overload that one
Jonathan Suever commented
@lmendo Ah great point!
Jonathan Suever commented
A version of this has been merged in and deployed.