Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use javascript to record voice on a web app?

It seems I can only use Flash or Java to record voice on a web app. Is there a way of doing it via JavaScript?

like image 603
Tsundoku Avatar asked Feb 26 '13 06:02

Tsundoku


People also ask

Can I record audio from my browser?

1] Chrome Audio Capture for Chrome You will see a red record icon appearing on the toolbar of your Chrome. Start capturing the desired audio sound on a tab by simply pressing 'Start Capture' button. The extension will start to capture audio from the Chrome browser.


1 Answers

It can be done but the solution won't work across all platforms at the moment.

<input type="file" accept="audio/*;capture=microphone">

See HTML5 Media Capture

Currently Supported By:

Android 3.0 browser, Chrome for Android (0.16), Firefox Mobile 10.0, iOS6 Safari and Chrome (partial support)

Links:

http://www.html5rocks.com/en/tutorials/getusermedia/intro/

Audio capturing with HTML5

like image 100
Philip Kirkbride Avatar answered Oct 13 '22 00:10

Philip Kirkbride