Paul Boersma | 2 Feb 2010 12:47
Picon
Picon
Favicon

Re: appending textgrid files

At 18:50 +0000 25/1/10, chnzpeony wrote:
>I had divided a long sound file into smaller, more workable sections 
>and created a textgrid file for each of those smaller soundfiles. 
>Now, I would like to merge the textgrid files back together into one 
>larger one that can be used with the original long sound file.

no, this cannot be done. Specially for long sound files, we have the 
option "Open long sound file...", so that you would never have to 
perform the very error-prone sequence of dividing sounds up and 
putting them back again.

--

-- 

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

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

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

<*> To visit your group on the web, go to:
(Continue reading)

Paul Boersma | 2 Feb 2010 12:58
Picon
Picon
Favicon

Re: Praat Skript: Duration of pauses

At 11:55 +0000 31/1/10, Michelle Porter wrote:
>you missed out the plural s!

some other problems in the script are:

>>  name$ = selected$("TextGrid w1_alt_Phon")

should just be

    name$ = selected$ ("TextGrid")

>>  printline 'tab$'number 'tab$'label 'tab$'duration

this creates column names that contain a space at the end, which is 
probably not what you want. There's also an extra tab after the last 
column. You should fix that if you want to read the contents of the 
Info window into a Table.

>>  Additionally, I would like a command which creates this table in a 
>>txt file or something I can upload in Praat.

to store the contents of the Info window in a file, you do

    filedelete yourFileName.txt
    fappendinfo yourFileName.txt
    Read Table from tab-separated file... yourFileName.txt

this also reads it into a Table.
--

-- 

(Continue reading)

Phonetic | 2 Feb 2010 11:02
Picon
Favicon

Normalisation LTAS

Hello,

I would like to normalize the values in a LTAS-object,
in order to compare LTAS from different
speakers. Is there any way to do this in Praat? I have never done a normalisation before so some helpful hints
would be great!
Thanks in advance!

Greets, Susann

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

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/
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:
(Continue reading)

emperor_ian85 | 2 Feb 2010 12:33
Picon

Unvoiced intensity showing 'undefined'...

Hi, 

I have the following script which takes in a folder of sound files, creates VUV textgrids and prints average
Voiced and Unvoiced intensities:

clearinfo
# set parameters
vuvTier = 1
sumOfDbValuesV = 0.0
sumOfDbValuesUV = 0.0
numberOfV = 0
numberOfUV = 0
numberOfS = 0
vuvTier = 1 
voiced_totaldB = 0
unvoiced_totaldB = 0

directory$ = "C:\Documents and Settings\SXP231\Desktop\test"

filelist = Create Strings as file list... list 'directory$'/*.wav
numberOfFiles = Get number of strings

for ifile to numberOfFiles
select Strings list
fileName$ = Get string... ifile
sound = Read from file... 'directory$'/'fileName$'
intensity = To Intensity... 80 0 yes

# re-initialise totals
unvoiced_total = 0
(Continue reading)

Wongsakorn | 2 Feb 2010 17:05
Picon
Favicon

**How to get these features from writing scripts(sendpraat.exe)?

I 've tried this script below but It did't work.
=======================================
Read from file... C:\Users\ASUS\Desktop\angry001.wav

Edit
Select... All 0 10
Get pitch
Get minimum pitch
Get maximum pitch
Get intensity

Extract visible pitch contour
Extract visible intensity contour

select Pitch untitled
Get quantile... 0 0 0.5 Hertz
Get quantile... 0 0 0.25 Hertz
Get quantile... 0 0 0.75 Hertz

select Intensity untitled
Get mean... 0 0 energy
Get maximum... 0 0 Parabolic
Get minimum... 0 0 Parabolic
Get quantile... 0 0 0.5
Get quantile... 0 0 0.25
Get quantile... 0 0 0.75
=======================================

All I'd like are these features.
mean pitch
(Continue reading)

Ellen | 2 Feb 2010 17:37
Picon
Favicon

LTAS : Find right measurement

Hello Praat-Users,

I am new to Praat and I need some urgent help with choosing and operating the right Queries for an LTAS object.
I would like to compare the LTAS object of one person recorded two different times, one expecting a lower
loudness and the other a higher loudness (lower vocal effort/higher vocal effort)
What queries would be best to analyse and compare these two LTAS objects? 

With "Get slope" I can get the spectral tilt of the LTAS object chosen. A lower value would indicate a
hyperfunctional voice and a higher a hypofunctional voice. Is there anything else I can say about the
given values showing spectral distribution? Must I choose db, sone or energy? What would be best for comparing?

I would like to show that one LTAS object is spoken with higher vocal effort. So there must be more high
frequency energy in the long term spectrum. Which "Query" is best to illustrate this fact?
My ideas: "Get frequency..." and then choose any high frequency value (f.ex. 3.4 kHz) which should have a
higher value compared to the one which has a lower vocal effort? 

The bin width is 125Hz and the frequency range 0-6000 Hz

How can I get a spectrum that clearly shows the peaks in this range? Then a list of these peaks with the energy
distribution would be great so that I can compare the lists of two LTAS objects. For example show that the
one with lower vocal effort has lower energy values in the higher frequencies.

How can the relation to loudness be shown and measured in the best way? 
Is it possible to get information about the fundamental frequency from the LTAS object?

I hope you have some ideas about these points...Thank you very much!

Greets,
Ellen

(Continue reading)

Paul Boersma | 3 Feb 2010 00:37
Picon
Picon
Favicon

Re: Unvoiced intensity showing 'undefined'...

At 11:33 +0000 2/2/10, emperor_ian85 wrote:
>However, all the intensity readings for the UV portions of speech 
>come out as 'undefined'.

no, only the *mean* intensity over all those intervals comes out as 
"undefined". This is because one of the intensity measurements is 
undefined, namely the one at the very beginning or end of the sound. 
Apparently the first or last interval falls entirely inside the white 
areas at the edges.

>The only way the script will get an UV intensity if is I set the 
>minimum pitch really high, around 250 Hz.

yes, this makes the white areas smaller.

>Can anyone help as to why there are some discrepencies between my 
>script and when I do the same process going through the Praat menus?

There are no discrepancies. You will get "undefined" if you do "Get 
intensity" in the sound window either for the first or for the last 
interval.

Here is how you repair your script (I corrected several more 
mistakes, such as unmatching endifs, unmatched endfors, wrong 
location of zeroing):

clearinfo
# set parameters
vuvTier = 1
numberOfS = 0
(Continue reading)

Paul Boersma | 3 Feb 2010 01:10
Picon
Picon
Favicon

Re: **How to get these features from writing scripts(sendpraat.exe)?

At 16:05 +0000 2/2/10, Wongsakorn wrote:
>I 've tried this script below but It did't work.

though you don't say *what* didn't work, I can see several things:

1. to put the pitch in a variable, you do

    pitch = Get pitch

so that later you can use things like

    printline 'pitch:3'

2. Select... All 0 10

the Select command doesn't have a field that you can give the value 
All. Please read the scripting tutorial.

3. select Pitch untitled

this is a command from the Objects window. You'll have to change the 
context away from the editor, i.e. you should do

    endeditor

just before your first Objects window command.
--

-- 

Paul Boersma
Phonetic Sciences, University of Amsterdam
(Continue reading)

Ellen | 3 Feb 2010 10:48
Picon
Favicon

Praat Picture change to log

Hej everybody,

does anybody know how to change the horizontal axis in Praat Picture to log frequency (Hz)?
I need a praat picture showing LTAS in db (left) and log frequency (bottom).
Greets,
Ellen

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

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

(Continue reading)

Phonetic | 3 Feb 2010 15:56
Picon
Favicon

sound not converted to LTAS

Hej,

I have a problem converting a normal sound to a LTAS object. It takes really long and then occurs a window
saying that it is "out of memory and that there is not enough room for it an its 8 bytes each". What can I do? I
need this LTAS object...

Thanks in advance!

Greets,
Susan

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

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/
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)

(Continue reading)


Gmane