Calculating average voice pitch
Forum rules
This forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity 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.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity 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.
Calculating average voice pitch
Is there a way to use Audacity to calculate the average voice pitch is a recording that is, say, 30 seconds long? I am trying to train my voice to raise the average pitch, and one of the things I do is read a short paragraph immediately after playing the note I am trying to achieve (as an average); in my case an A (220Hz). If I record this with Audaicity, is there a way to then analyze the clip to see how well I did?
-
kozikowski
- Forum Staff
- Posts: 69384
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: Calculating average voice pitch
Probably not by pushing a button a reading a number, no. You can use Analyze > Spectrum Analyze or Spectrogram in the left-hand drop-down, but please know that when you sing or play a note, there's a lot more going on than just one note. Do you remember in music class they threw around the terms "Harmonics" and "Overtones?" Lots of overtones make an instrument rich and fun to listen to, but they also make it rough to measure.
This is a measurement of just one piano note.
http://kozco.com/tech/audacity/piano_G1.jpg
Turns out the tallest peak on the left corresponds to G1 on the piano.
If you tried that trick with a song, you would get a solid forrest of peaks and not be able to tell or measure anything.
What you can do is sing or talk your test phrase and record it and save it. Then record the improved one and see if the blue peaks move to the left (lower pitch).
I know you were hoping for the one-button solution, but I don't know of any.
Koz
This is a measurement of just one piano note.
http://kozco.com/tech/audacity/piano_G1.jpg
Turns out the tallest peak on the left corresponds to G1 on the piano.
If you tried that trick with a song, you would get a solid forrest of peaks and not be able to tell or measure anything.
What you can do is sing or talk your test phrase and record it and save it. Then record the improved one and see if the blue peaks move to the left (lower pitch).
I know you were hoping for the one-button solution, but I don't know of any.
Koz
-
Robert J. H.
- Posts: 3633
- Joined: Thu May 31, 2012 8:33 am
- Operating System: Windows 10
Re: Calculating average voice pitch
Here's a similar Topic:
http://forum.audacityteam.org/viewtopic ... 23#p208156
There's a little Nyquist plug-in included that returns the mean frequency.
Put the code into a text editor and save it as name.ny in your Plug-in folder.
And there's Steve's Pitch Detection plug-in available (new plug-ins section in the Nyquist forum).
But I am not sure if it rounds the pitches.
http://forum.audacityteam.org/viewtopic ... 23#p208156
There's a little Nyquist plug-in included that returns the mean frequency.
Put the code into a text editor and save it as name.ny in your Plug-in folder.
And there's Steve's Pitch Detection plug-in available (new plug-ins section in the Nyquist forum).
But I am not sure if it rounds the pitches.
-
kozikowski
- Forum Staff
- Posts: 69384
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: Calculating average voice pitch
It seems too simple to do what the poster wants. What happens if the durations of the same song performed twice varies as it almost certainly will. How does it handle harmonics? If the poster gets a head cold, do all the numbers go off? Too close to the microphone and the readings to nuts?
Koz
Koz
-
Robert J. H.
- Posts: 3633
- Joined: Thu May 31, 2012 8:33 am
- Operating System: Windows 10
Re: Calculating average voice pitch
The yin algorithm (which is the basis for both plug-ins) has been developed to find the fundamental Frequency of a voice. There are a lot of other algorithms as well and each claims to find the fundamental most accurately.kozikowski wrote:It seems too simple to do what the poster wants. What happens if the durations of the same song performed twice varies as it almost certainly will. How does it handle harmonics? If the poster gets a head cold, do all the numbers go off? Too close to the microphone and the readings to nuts?
Koz
But they have all one thing in common: they are only suited for a certain context e.g. polyphony or plucked strings.
The first formant of a voice will determine its pitch and its frequency can even rise above the other formants. That's why pitch shifting sounds so strange - all formants are getting a higher frequency which isn't natural.
I think that the results should be quite good, independent of the harmonical upper structure.
I can't test it thoroughly - my voice is far too bad for that...
Here's the link to Steve's plug-in:
http://forum.audacityteam.org/viewtopic ... 03#p209793
Re: Calculating average voice pitch
Do you mean a "singing voice" or "talking voice"?lsinbc wrote:I am trying to train my voice to raise the average pitch
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)