WebAudioTrack icon indicating copy to clipboard operation
WebAudioTrack copied to clipboard

Send the recorded track to a server

Open Jfbl opened this issue 7 years ago • 1 comments

Hi, thks for your great work! Is there a way to use the recorded audio to a server ? how can I point to it ?

all the best!

Jfbl avatar May 08 '18 17:05 Jfbl

If you look in WebAudioTrack.js lines 213-215 and 161-163 you'll see that a few lines of code have been commented out by the original author. If you uncomment these, you will then have access to audioTrack.blob (WAV format) which you can then send to your server (e.g. https://stackoverflow.com/questions/12937752/convert-blob-to-file-and-pass-it-as-post-parameter-xmlhttprequest)

Hope this helps.

praine avatar Aug 18 '18 06:08 praine