How does one record audio from a Javascript based webapp?

Posted by username on Stack Overflow See other posts from Stack Overflow or by username
Published on 2008-09-15T15:35:51Z Indexed on 2010/04/20 17:53 UTC
Read the original article Hit count: 174

I'm trying to write a web-app that records WAV files (eg: from the user's microphone). I know Javascript alone can not do this, but I'm interested in the least proprietary method to augment my Javascript with. My targeted browsers are Firefox for PC and Mac (so no ActiveX). Please share your experiences with this. I gather it can be done with Flash (but not as a WAV formated file). I gather it can be done with Java (but not without code-signing). Are these the only options?

@dominic-mazzoni I'd like to record the file as a WAV because because the purpose of the webapp will be to assemble a library of good quality short soundbites. I estimate upload will be 50 MB, which is well worth it for the quality. The app will only be used on our intranet.

UPDATE: There's now an alternate solution thanks to JetPack's upcoming Audio API: See https://wiki.mozilla.org/Labs/Jetpack/JEP/18

© Stack Overflow or respective owner

Related posts about java

Related posts about JavaScript