I'm trying to access sound volume data from the microphone in realtime. I've tried AVAudioPlayer but it only monitors sounds from a source like an mp3 and not from a microphone. I've also tried The SpeakHere app but it's proving to be much tougher to understand with all the Objective C++ syntax (i'm a newbie). Is there another class similiar to the one in SpeakHere but written only in Objective C?
Noise is Monitored Using a Sound Level Meter (SLM) Noise is typically measured by adjusting how a human ear responds to sound (A or C weighted responses). A sound level meter (SLM) can measure sound at different frequencies (called octave band analysis) and record sound clips to determine the source of noise pollution.
Apps for both Android and iOS Measure noise at home or in the workplace and calibrate home or professional audio equipment with this free app which includes a noise dosimeter, spectrum analyzer with RTA, FFT and Spectogram, as well as a hearing test.
Decibel measurements made with the A-weighting scale are denoted as dBA; those with the C-weighting scale as dBC. There are other weighting scales to account for the range between A-weighting (soft) and C-weighting (loud), but they are not used much anymore.
sc_listener is deprecated. The correct answer today is to use AVAudioRecorder
. This tutorial explains how to use it.
Erik's answer is correct. Here is a reusable implementation using this method as a recognizer/delegate.
https://github.com/picciano/iOS-Audio-Recoginzer
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