Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mobile Safari Audio Recording from Microphone

I've done quite the searching. I know there's a lot of solutions from PhoneGap that allow people to record audio from the microphone. But what I'm looking for is a solid and simple example of how to record audio via Mobile Safari from a users microphone.

Any examples out there? There's been quite the developments in HTML5.

like image 516
Patrick Avatar asked Jun 09 '11 17:06

Patrick


People also ask

How do I record sound from Safari?

Open the QuickTime Player app, click File > New Audio Recording. In the Options pop-up, select the microphone and recording quality level. Use the volume slider to control the volume. Click the Record button or use the functions on your Touch Bar (if you have a recent MacBook Pro.)

Can I record with an external mic on iPhone?

You should be able to connect any iPhone® external microphone wireless or wired for recording, whether it has a 3.5mm TRRS or TRS jack, a Lightning connector, or even an XLR connector.

How do I record audio from a website on my phone?

Swipe down from the top of your screen to see the quick settings tiles and tap the screen recorder button. A floating bubble will appear with a record and microphone button. If the latter is crossed out, you're recording internal audio, and if it's not, you get sound straight from your phone's mic.


1 Answers

You can - with iOS6 now - access the camera. Just use

<input type="file" capture="camera" accept="image/*" id="takePictureField">

I've tried with audio but so far haven't had any luck. I've got a full blog post (which yes, I know Stackoverflow frowns on) demonstrating camera access here: http://www.raymondcamden.com/index.cfm/2013/5/20/Capturing-camerapicture-data-without-PhoneGap

like image 166
Raymond Camden Avatar answered Oct 19 '22 15:10

Raymond Camden