Discussion:
Pitch Measurement
Phonetic
2010-03-31 09:31:15 UTC
Permalink
Hej everybody,

I would like to calculate the Pitch Min value of a speech sound. The problem is that Praat has made a mistake when calculating the pitch values. How can I "erase" this part of pitch contour and measure without it? I measured until this pitch maistake and after it again, but I do not know if this is the right measurement and if there is any other easy way to erase those parts of the pitch contour which could be mistakes in calculating pitch. Another idea is to set the pitch range higher so that those pitch values which are too low are not considered in the measurement?

Thanks for ideas:)




------------------------------------

To Post a message, send it to: praat-users-***@public.gmane.org

To Unsubscribe, send a blank message to: praat-users-unsubscribe-***@public.gmane.org

To consult archives : http://egroups.com/list/praat-users/
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://uk.groups.yahoo.com/group/praat-users/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://uk.groups.yahoo.com/group/praat-users/join
(Yahoo! ID required)

<*> To change settings via email:
praat-users-digest-hHKSG33Tihj7tPOJXBBAsVpr/1R2p/***@public.gmane.org
praat-users-fullfeatured-hHKSG33Tihj7tPOJXBBAsVpr/1R2p/***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
praat-users-unsubscribe-hHKSG33Tihj7tPOJXBBAsVpr/1R2p/***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://uk.docs.yahoo.com/info/terms.html
Daniel Hirst
2010-03-31 12:16:49 UTC
Permalink
Post by Phonetic
I would like to calculate the Pitch Min value of a speech sound. The problem is that Praat has made a mistake when calculating the pitch values. How can I "erase" this part of pitch contour and measure without it? I measured until this pitch maistake and after it again, but I do not know if this is the right measurement and if there is any other easy way to erase those parts of the pitch contour which could be mistakes in calculating pitch. Another idea is to set the pitch range higher so that those pitch values which are too low are not considered in the measurement?
The default values for Pitch are rarely the best option so if you used these you shouldn't be surprised when Praat "makes a mistake" - it's not really a mistake - it's simply the best answer to a badly posed question.

In practice, you should always adapt the Pitch maximum and minimum to the speaker's range.

One way to do this is to do Pitch detection in two passes. In the first pass you use the default values and you extract from that an idea of the speaker's range. You then do a second pass using maximum and minimum derived from this estimate.

In my Momel-Intsint plugin, (which you can find here: http://uk.groups.yahoo.com/group/praat-users/files/Daniel_Hirst/) this is implemented by calculating the first and third quartiles of the pitch distribution and then using these to determine the max and min for a second pass, like this, assuming that a sound is selected:

mySound = selected("Sound")
To Pitch... 0 75 600
q1 = Get quantile... 0 0 0.25 Hertz
q3 = Get quantile... 0 0 0.75 Hertz
Remove
select mySound
To Pitch... 0 q1*0.75 q3*1.5

So you could try this, and then use Get minimum... on the resulting Pitch.

Alternatively, you could of course edit the Pitch manually and remove offending values (with the command Unvoice) but this would be rather subjective besides being tedious if you need to do it for large numbers of speech files.

daniel

--------------------------------------------------------------------------------------------------
CNRS Laboratoire Parole et Langage (UMR 6057) - salle B004
Université de Provence, 5 avenue Pasteur
BP 80975
13604 Aix-en-Provence, Cedex 1, France
tel: +33-4-4295-3628 secr: +33-4-4295-3634
---------------------------------------------------------------------------------------------------
Speech Prosody V - May 2010 Chicago, Illinois, USA
http://www.speechprosody2010.illinois.edu
Speech Prosody list: http://uk.groups.yahoo.com/group/speech_prosody
Momel-Intsint list: http://tech.groups.yahoo.com/group/momel-intsint
Praat-users list: http://groups.yahoo.com/group/praat-users
List of mypublications: http://www.lpl-aix.fr/publi/57
---------------------------------------------------------------------------------------------------


















------------------------------------

To Post a message, send it to: praat-users-***@public.gmane.org

To Unsubscribe, send a blank message to: praat-users-unsubscribe-B11MqFFcr06IwRZHo2/***@public.gmane.orgm

To consult archives : http://egroups.com/list/praat-users/
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://uk.groups.yahoo.com/group/praat-users/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://uk.groups.yahoo.com/group/praat-users/join
(Yahoo! ID required)

<*> To change settings via email:
praat-users-digest-hHKSG33Tihj7tPOJXBBAsVpr/1R2p/***@public.gmane.org
praat-users-fullfeatured-hHKSG33Tihj7tPOJXBBAsVpr/1R2p/***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
praat-users-unsubscribe-hHKSG33Tihj7tPOJXBBAsVpr/1R2p/***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://uk.docs.yahoo.com/info/terms.html
Paul Boersma
2010-04-01 12:28:11 UTC
Permalink
Post by Phonetic
I would like to calculate the Pitch Min value of a speech sound.
The problem is that Praat has made a mistake when calculating the
pitch values. How can I "erase" this part of pitch contour and
measure without it?
The "mistake" is probably that Praat's measured pitch value is an
octave below the pitch value that you would like to see. This means
that the doubled period is a better local candidate for periodicity;
this can be due to local roughness in the voice, or sometimes to
background noise. For this reason, the manual advises you to set the
"pitch floor" higher than the standard value, at least for female
voices (as you suggest yourself).

The result of raising the pitch floor in these cases is *not* that
the pitch contour will be measured without these pitch values, but
usually that the measured pitch values will be an octave higher than
before (please check the waveform as well).

If the pitch curve is then still not satisfactory, you can select the
Pitch object and click Edit.
--
Paul Boersma
Phonetic Sciences, University of Amsterdam
Spuistraat 210, room 303
1012VT Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/
phone +31-20-5252385


------------------------------------

To Post a message, send it to: praat-users-***@public.gmane.org

To Unsubscribe, send a blank message to: praat-users-unsubscribe-***@public.gmane.org

To consult archives : http://egroups.com/list/praat-users/
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://uk.groups.yahoo.com/group/praat-users/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://uk.groups.yahoo.com/group/praat-users/join
(Yahoo! ID required)

<*> To change settings via email:
praat-users-digest-hHKSG33Tihj7tPOJXBBAsVpr/1R2p/***@public.gmane.org
praat-users-fullfeatured-hHKSG33Tihj7tPOJXBBAsVpr/1R2p/***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
praat-users-unsubscribe-hHKSG33Tihj7tPOJXBBAsVpr/1R2p/***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://uk.docs.yahoo.com/info/terms.html
Continue reading on narkive:
Loading...