2

I'm processing audio using a phone Samsung Galaxy mini and also in a tablet Nexus 7

I've using the class audiorecord, until now, I have been able to correctly analyze audio from frequencies 200 to ~20000 Hz.

I'm detecting pitch through auto-correlation, I based in this code: http://tarsos.0110.be/artikels/lees/YIN_Pitch_Tracker_in_JAVA

I am using 44100Hz of sampling frequency, and I have also used 8000Hz.

I have not being able to detect pitch from lower frequencies, I can hardly detect 100Hz by pointing the microphone to a speaker.

Does someone know the input frequency response of the devices or if are physically or code limited?

I would like at least being able to detect correctly from 50Hz because I'm trying to do a voice detector and I being struggling with this low frequencies in order to detect male voices.

Thank you for all.

-Jessica

jessica
  • 379
  • 8
  • 23

1 Answers1

1

I cant tell you about what is the limit of low frequencies that these microphones can capture.

Out of curiosity I did some tests with YIN here...

I'm using one Window = 2048 and Overlap = 1024, and I can find Frequency above 40HZ in recorded files sampled at 44100Hz, this prove me that the algorithm can find low frequencies.

You can do tests with you phone using pure sinusoid at 50Hz and see if your code can track.

"The fundamentals of human voices are roughly in the range of 80 Hz to 1100 Hz"

My guess is that the microphones from smart phones are not so good :-(

ederwander
  • 3,410
  • 1
  • 18
  • 23
  • 1
    Hi, thank you for your answer, It's also my guess that smartphone's mics are not good to detect those low frequencies, I found this frequency response graph for an iPhone (http://blog.faberacoustical.com/2010/ios/iphone/iphone-4-audio-and-frequency-response-limitations/) that shows a similiar behaviour that I am experimenting with the devices I'm using. It happens that I am able to detect even 80Hz with the phone, but I must put the phone really near to the speaker that is producing the single tone. I could explain that because of a decay of gain in that frequency, but I dont have a graph. – jessica Jul 31 '13 at 19:52