Frequency analysis shows results that are way off

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
velle
Posts: 4
Joined: Sat Jan 12, 2013 12:25 am
Operating System: Please select

Frequency analysis shows results that are way off

Post by velle » Sat Jan 12, 2013 11:03 am

I recorded my voice saying a word, "my", monotomely in my normal voice. I want to find out the pitch, and I thought I could do so with Audacity. I marked a small interval (300ms) of the monotome "aaaa" part. I used Analyze -> Plot Spectrum. It gave a peak on 278Hz.

This is surprising because I am a male with a voice in the deep end and according to Wikipedia (http://en.wikipedia.org/wiki/Voice_frequency):
Typical male voice: 85-180Hz
Typical female voice: 165-255Hz

I then generated a sine wave (within Audacity) with 440Hz and analyzed that, but it shows a peak on 416Hz.

These results are useless! What could they ever be used for? Or did I misunderstand something?

Sugggestions on how to get the pitch of the recroding are very welcome.

Sincerely, Velle

Audacity 2.0.2, Windows 7

steve
Site Admin
Posts: 80751
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Frequency analysis shows results that are way off

Post by steve » Sat Jan 12, 2013 3:14 pm

"Plot Spectrum" uses FFT analysis. The accuracy of FFT analysis depends on the FFT "Size" parameter. For the most accurate frequency reading, set the "Size" parameter as large as possible for the selection. If the selection is very short you may not be able to use the maximum size, in which case decrease the size one step at a time until you reach the largest "Size" that can be used with the selection, or make a larger selection. The largest "Size" that can be used with a 300 ms selection when the sample rate is 44100, is 8192.

See here in the manual for more details: http://manual.audacityteam.org/o/man/an ... l#spectrum
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

velle
Posts: 4
Joined: Sat Jan 12, 2013 12:25 am
Operating System: Please select

Re: Frequency analysis shows results that are way off

Post by velle » Sat Jan 12, 2013 5:17 pm

Thanks :) That helped. The analysis of the sine wave gives exactly 440 with a large window. I have two dominating peaks, and many smaller peaks, when analyzing my voice:

126Hz: -7.8Hz
232Hz: -8.6Hz

I'm not sure what the second I get these, so close, with almost identical amplitudes, but I will simply pick the first one as my "result" since it is in the expected range.

Robert J. H.
Posts: 3633
Joined: Thu May 31, 2012 8:33 am
Operating System: Windows 10

Re: Frequency analysis shows results that are way off

Post by Robert J. H. » Sun Jan 13, 2013 1:31 am

Those values are not so close as it may seem. They are in fact nearly an octave apart (B2 to Bb3). In other words, it is the jump from "Some..." to "Over..." in "Somewhere over the rainbow".
The first value is the fundamental frequency, whereas the second is most likely the first formant. You can observe how this value changes when you're singing different vocals, although tthe pitch (of the fundamental) stays the same.

kozikowski
Forum Staff
Posts: 68938
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Frequency analysis shows results that are way off

Post by kozikowski » Sun Jan 13, 2013 3:46 am

The mess of overtones and frequencies kills people trying to filter out words or instruments by "looking for the note and deleting that frequency." Those extra spikes are the reason you don't sound like Harry Connick Jr and neither do I even though we're singing the same notes.

Robert may sound like HCJ. Jury's out.

Koz

Post Reply