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.
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.)
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With