Web-Multi-Media / multi-web-audio-sequencer

Web collaborative step sequencer
https://labs.freesound.org/sequencer
GNU General Public License v3.0
10 stars 2 forks source link

Export audio output as opus - Iss 27 #45

Closed DerouineauNicolas closed 6 years ago

DerouineauNicolas commented 6 years ago

This PR is aiming to implement feature described in issue #27.

The audio output of the WebAudio graph is exported through a mediaRecorder node. If the record is trigerred through the button, all audio chunks are redirected through a Blob and then are dynamically added to the page as a downloable and playable audio file (ogg).

This can only be used as a live recorder (ie: the sequencer must be in a play state).

DerouineauNicolas commented 6 years ago

I've unified the audio downloader container css with the rest of the sequencer containers style.

Regarding your comment about the audio players, I think it is better to have them in the container alongside the download links. This allows the user to preview what he is about to download.

The only issue is that the standard audio html tag can't be styled through regular CSS properties. So one solution could be to create our own audio controller (play/pause/ect..) alongside a download button. But this seems out of this PR scope.