1 Mar 21:27 2011

calculating semitones

```Hi!

does anyone know if is allowed to convert F0mean values to semitones by using the equation

semitone= 12*log2(f0mean)

or do I must use the pitch range (f0max/f0min) instead of f0mean?

I really would appreciate someone's suggestion!

Thanks
custos

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

To Post a message, send it to:   praat-users@...

To Unsubscribe, send a blank message to: praat-users-unsubscribe@...

To consult archives :	         http://egroups.com/list/praat-users/

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

<*> To change settings online go to:
http://uk.groups.yahoo.com/group/praat-users/join
```

2 Mar 06:54 2011

Re: calculating semitones

```Custos asked:
> does anyone know if is allowed to convert F0mean values to semitones by using the equation
>
> semitone= 12*log2(f0mean)
>
> or do I must use the pitch range (f0max/f0min) instead of f0mean?

Semitones (more strictly equal-tempered semitones) represent a pitch interval which is one twelfth of an
octave. So strictly their appropriate use is to represent a pitch range which you can calculate with

range = 12*log2(f0max/f0min)

There is, however, no reason that you should not represent an 'absolute' pitch value with the formula you
mention, which is in effect calculating the interval between f0mean and one Hertz. In other words you are
calculating the interval

semitones = 12*log2(f0mean/1)

This is one of the options for units (semitones re 1 Hz) provided by Praat in the query Get mean... for a Pitch
object. The other options are semitones re 100 Hz, re 200 Hz and re 440 Hz.

You should, though, when quoting such values mention somewhere that the values are calculated in
semitones re 1 Hz so that your values can be compared to others calculated using a different formula.

The result of this will be that for human voices your values will be likely to be situated in a range from about
70 (around 60 Hz) up to about 20000000000 (410 Hz) which as rather a large range and not particularly easy to interpret.

I have always thought that a more natural unit to use for pitch is the octave (ie simply log2(Hz)) since with
this the range of human voices is generally situated between 6 and 9 octaves (re 1 Hz) which is to my mind much
easier to interpret. Added to this is the advantage that the octave is in many senses a natural unit for
```

2 Mar 08:59 2011

Re: calculating semitones

```oops sorry - that was posted too hastily - I did the calculations the wrong way round!!

the expected pitch range is 70 sts (about 60 Hz) to 100 sts (close to 400 Hz) and not the crazy figures I posted !!!

nonetheless I maintain the rest of my comments about the octave as a 'natural' unit for pitch

--------------------------------------------------------------------------------------------------
CNRS Laboratoire Parole et Langage (UMR 6057) - salle B012
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 SIG			http://aune.lpl.univ-aix.fr/projects/sprosig/
Speech Prosody list:   http://uk.groups.yahoo.com/group/speech_prosody
Praat-users list:                           http://groups.yahoo.com/group/praat-users
List of my publications:                                 http://www.lpl-aix.fr/publi/57
---------------------------------------------------------------------------------------------------

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

To Post a message, send it to:   praat-users@...

To Unsubscribe, send a blank message to: praat-users-unsubscribe@...m

To consult archives :	         http://egroups.com/list/praat-users/

<*> To visit your group on the web, go to:
```

2 Mar 11:22 2011

RMS,intensity and amplitude

```Hi
i wanted to know the difference between RMS,intensity,Amplitude and speech power(of a speech file).It
always confuses me.
How are these parameters found in praat.

Thanks
Anu

[Non-text portions of this message have been removed]

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

To Post a message, send it to:   praat-users@...

To Unsubscribe, send a blank message to: praat-users-unsubscribe@...m

To consult archives :	         http://egroups.com/list/praat-users/

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

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

<*> To change settings via email:
```

2 Mar 11:24 2011

spectral tilt

```Hi
what is spectral tilt.How can we use praat to measure it.
thanks

Anu

[Non-text portions of this message have been removed]

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

To Post a message, send it to:   praat-users@...

To Unsubscribe, send a blank message to: praat-users-unsubscribe@...m

To consult archives :	         http://egroups.com/list/praat-users/

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

<*> 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@...
```

2 Mar 14:25 2011

Re: calculating semitones

```
Op 1 mrt 2011, om 21:27 heeft custos83 het volgende geschreven:

> > does anyone know if is allowed to convert F0mean values to semitones by using the equation
>
> semitone= 12*log2(f0mean)

if f0mean means "the arithmetical average of the F0 values in hertz", then this is not right. The averaging
itself should be done in the logarithmic domain, as you get by setting the Units in the PitchSettings
window to "loghertz" in Praat. Or you get it directly by setting the Units to "semitones re 1 Hz".
__________________________________
Paul Boersma
Phonetic Sciences, University of Amsterdam
Spuistraat 210, room 303
1012VT Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/

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

To Post a message, send it to:   praat-users@...

To Unsubscribe, send a blank message to: praat-users-unsubscribe@...

To consult archives :	         http://egroups.com/list/praat-users/

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

```

2 Mar 16:27 2011

changing from upper to lower case

```Hi,

while processing textGrids with occasional
uppercase labels (due to typos), I wanted to
change strings from upper to lowercase.

I failed to find a way to do so,
I tried the replace_regex, like this

--------------------------
test\$ = "regENboog"
new\$ = replace_regex\$(test\$,"[A-Z]","[a-z]",0)

clearinfo
printline 'test\$'
printline 'new\$'
--------------------------

but only got this result

regENboog
reg[a-z][a-z]boog

I understand why I get this,
but is there a way so that the "replacement string" is
not interpreted literally?

Kind regards,
Holger

```

2 Mar 17:03 2011

Re: Live Spectrogram

```Also RTGram is a nice and easy tool to do that (but it can do that only
and nothing else):

http://www.phon.ucl.ac.uk/resource/sfs/rtgram/

Best,
Volker

Am 27.02.2011 01:12, schrieb Oxford Stop the War Coalition:
> Hello,
>
> Can PRAAT provide a spectrogram display of the audio live real time
> microphone input? i.e not from a recorded file. I want to analyse the
> live audio input.
>
> If so how do I set it up to do that?
>
> Many Thanks! ..
>
>

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

To Post a message, send it to:   praat-users@...

To Unsubscribe, send a blank message to: praat-users-unsubscribe@...

To consult archives :	         http://egroups.com/list/praat-users/

```

2 Mar 17:43 2011

Re: changing from upper to lower case

```Op 2 mrt 2011, om 16:27 heeft Holger het volgende geschreven:

> test\$ = "regENboog"
> new\$ = replace_regex\$(test\$,"[A-Z]","[a-z]",0)

try

new\$ = replace_regex\$ (test\$, "[A-Z]", "\L&", 0)

or even

new\$ = replace_regex\$ (test\$, ".", "\L&", 0)

(it doesn't do full international lowercasing)
__________________________________
Paul Boersma
Phonetic Sciences, University of Amsterdam
Spuistraat 210, room 303
1012VT Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/

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

To Post a message, send it to:   praat-users@...

To Unsubscribe, send a blank message to: praat-users-unsubscribe@...

To consult archives :	         http://egroups.com/list/praat-users/

```

3 Mar 17:26 2011

move all even or uneven boundaries in a textgrid

```I want to move all uneven boundaries by -0.05 s and all even boundaries by 0.05 s. How can i implement this in a script?
Thank you.

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

To Post a message, send it to:   praat-users@...

To Unsubscribe, send a blank message to: praat-users-unsubscribe@...

To consult archives :	         http://egroups.com/list/praat-users/

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

<*> 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@...
praat-users-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
praat-users-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
```