Skip to search.
praat-users · Praat Users Group

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can search the group for older messages.

Messages

  Messages Help
Advanced
Messages 1807 - 1837 of 6386   Oldest  |  < Older  |  Newer >  |  Newest
Messages 1807 - 1837 of 6386   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#1807 From: "katreinebrazil" <katreine@...>
Date: Mon May 2, 2005 2:37 am
Subject: problems with pith height
katreinebrazil
Send Email Send Email
 
I am trying to record samples from recordings I made with a MiniDisc recorder.
Using
Windows Soundrecorder, I get the true pitch contour, but using audio recorders
for
macintosh or the praat-recording on macintosh, the pitch results become very
strange.
Averagely 200 Hz above the real level.

I would like to ask whether anybody has experience with this problem and could
give me
an idea what to do.  I tried the recording function by praat, the audiorecorder
2.1. for
macintosh and Audacity.

Thanx

#1808 From: Paul Boersma <paul.boersma@...>
Date: Mon May 2, 2005 8:35 pm
Subject: Re: add to dynamic menu...
paulboersma
Send Email Send Email
 
At 12:01 -0700 29-04-2005, Ch. Karypidis wrote:
>i have been scratching my head for the past 2(!) hours but still don't get what
is wrong with the following script:
>Add to dynamic menu... ExperimentMFC 1 "" 0 "" 0 "save results" "" 0
C:\vowel_test\scripts\save_results.praat

the command is called "Add action command...". That is how it is written in the
Buttons file, for instance.

The command "Add to dynamic menu..." is available only in the script editor
window.
--

Paul Boersma
Institute of Phonetic Sciences, University of Amsterdam
Herengracht 338, 1016CG Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/
phone +31-20-5252385

#1809 From: "tenoleno" <onelonet@...>
Date: Thu May 5, 2005 10:27 am
Subject: Text export for 3d representation?
tenoleno
Send Email Send Email
 
Hello,

I am interested in creating 3d representations of sound files in programs such
as rhino. To
do this I need to export related data of frequency, amplitude and time
information.
Looking at the text export function in praat  I'm unsure if this is possible.
Any suggestions
or other possible programs to achieve this?

#1810 From: Paul Boersma <paul.boersma@...>
Date: Thu May 5, 2005 6:28 pm
Subject: Re: Text export for 3d representation?
paulboersma
Send Email Send Email
 
At 10:27 +0000 05-05-2005, tenoleno wrote:
> I need to export related data of frequency, amplitude and time information.
> Looking at the text export function in praat  I'm unsure if this is possible.

It is not so difficult to write a script that formats the information in exactly
the format that you need. For instance, something based on the following:

for i to 100
    time = i * 0.01
    select Pitch hello
    pitch = Get value at time... time Hertz Linear
    select Intensity hello
    intensity = Get value at time... time Cubic
    fileappend out.txt 'time:2' 'pitch:0' 'intensity:1''newline$'
endfor
--

Paul Boersma
Institute of Phonetic Sciences, University of Amsterdam
Herengracht 338, 1016CG Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/
phone +31-20-5252385

#1811 From: "nickmazure" <nickmazure@...>
Date: Fri May 6, 2005 2:13 am
Subject: Write to fontless EPS file options
nickmazure
Send Email Send Email
 
Dear Praat users,

In Praat 4.3.10, is there an option to use SILDoulos IPA93 instead of
TeX-xipa? I can't seem to be able to find it.

Thanks!

Nick

#1812 From: "vg1997" <vganesh@...>
Date: Sat May 7, 2005 1:35 pm
Subject: Matlab to Praat dB
vg1997
Send Email Send Email
 
Hi,
     I use Matlab for waveform analysis and want to know how to equate
the Y-axis on the FFT to a dB scale as used in Praat. The Y-axis is
Matlab is currently the product of some normalized function (in
volts) and I want to be able to compare it to Praat. Has anyone done
this before?
     Thanks a lot,
       Regards,
           Vidya

#1813 From: "Masahiko Komatsu \(home\)" <koma2@...>
Date: Sun May 8, 2005 1:23 am
Subject: Re: Matlab to Praat dB
ojizo3jp
Send Email Send Email
 
Dear Vidya,

The followings are what I have ever used. They just show how the definition
of dB is written in the scripts. Hope this helps.

In Matlab script,

     % convert linear scale to dB
     nDb = 20 * log10(nAmp);

     % convert dB scale to linear
     nAmp = 10 .^ (nDb / 20);

In praat script,
     # convert dB scale to linear
     amp = 10 ^ (db / 20)

     # convert dB scale to linear if you consider the auditory threshold
pressure used in Praat's Intensity (p0)
     p0 = 2 * 10^(-5)
     ampInt = 10 ^ (dbInt / 20) * p0

Masahiko Komatsu

----- Original Message -----
From: "vg1997" <vganesh@...>
To: <praat-users@...>
Sent: Saturday, May 07, 2005 10:35 PM
Subject: [praat-users] Matlab to Praat dB


Hi,
     I use Matlab for waveform analysis and want to know how to equate
the Y-axis on the FFT to a dB scale as used in Praat. The Y-axis is
Matlab is currently the product of some normalized function (in
volts) and I want to be able to compare it to Praat. Has anyone done
this before?
     Thanks a lot,
       Regards,
           Vidya






To Post a message, send it to:   praat-users@eGroups.com
To Unsubscribe, send a blank message to: praat-users-unsubscribe@eGroups.com
To consult archives :          http://egroups.com/list/praat-users/

Yahoo! Groups Links

#1814 From: "Masahiko Komatsu \(home\)" <koma2@...>
Date: Sun May 8, 2005 1:43 am
Subject: Re(2): Matlab to Praat dB
ojizo3jp
Send Email Send Email
 
In case you just want to make a rough visual comparison of the graphs drawn
by Praat and Matlab, I think simply using Matlab "semilogy" function instead
of "plot" will do. Though the unit of y-axis are different in the two
graphs, the shape of the graph must be the same.

mk

#1815 From: "Stephen Choularton" <mail@...>
Date: Tue May 10, 2005 6:40 am
Subject: scripting problem
stephenchoul...
Send Email Send Email
 
Hi

I am trying to get the harmonicity in a script using this:

select Sound 'name$'
To Harmonicity(cc) ... 0.01 75 0.1 1
meanHarmonicity = get mean 0.0 0.0
minimumHarmonicity = get minimum 0.0 0.0
maximumHarmonicity = get maximum 0.0 0.0

but it doesn’t seem to like it.  Can anyone see what I am doing wrong?

Stephen

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.7 - Release Date: 9/05/2005



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

#1816 From: "Masahiko Komatsu (home)" <koma2@...>
Date: Tue May 10, 2005 7:18 am
Subject: Re: scripting problem
ojizo3jp
Send Email Send Email
 
Dear Stephen,

Be careful of spaces, upper and lower cases, and parameters. Here's the
answer (I tried this on ver 4.3.01 for win):

select Sound 'name$'
To Harmonicity (cc)... 0.01 75 0.1 1
meanHarmonicity = Get mean... 0.0 0.0
minimumHarmonicity = Get minimum... 0.0 0.0 Parabolic
maximumHarmonicity = Get maximum... 0.0 0.0 Parabolic

Best,
Masahiko Komatsu

----- Original Message -----
From: "Stephen Choularton" <mail@...>
To: <praat-users@...>
Sent: Tuesday, May 10, 2005 3:40 PM
Subject: [praat-users] scripting problem


Hi

I am trying to get the harmonicity in a script using this:

select Sound 'name$'
To Harmonicity(cc) ... 0.01 75 0.1 1
meanHarmonicity = get mean 0.0 0.0
minimumHarmonicity = get minimum 0.0 0.0
maximumHarmonicity = get maximum 0.0 0.0

but it doesnÃÕ seem to like it.  Can anyone see what I am doing wrong?

Stephen

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.7 - Release Date: 9/05/2005



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



To Post a message, send it to:   praat-users@eGroups.com
To Unsubscribe, send a blank message to: praat-users-unsubscribe@eGroups.com
To consult archives :          http://egroups.com/list/praat-users/

Yahoo! Groups Links

#1817 From: Plinio Almeida Barbosa <plinio@...>
Date: Tue May 10, 2005 8:11 pm
Subject: Re: scripting problem
plinio326
Send Email Send Email
 
Dear Stephen,

Assuming that 'name$' has a value assigned before,
do not forget the '...' after get mean, get minimum and get maximum.
Suppress the space (I'm not sure this is also necessary but that is easy
to verify) between To Harmonicity(cc) and '...'

Best, Plinio
--
=========================================
Plinio A. Barbosa (plinio@...)
Speech Prosody Studies Group
Speech Scientist (Phonetician)
University of Campinas, Brazil

On Tue, 10 May 2005, Stephen Choularton wrote:

> Hi
>
> I am trying to get the harmonicity in a script using this:
>
> select Sound 'name$'
> To Harmonicity(cc) ... 0.01 75 0.1 1
> meanHarmonicity = get mean 0.0 0.0
> minimumHarmonicity = get minimum 0.0 0.0
> maximumHarmonicity = get maximum 0.0 0.0
>
> but it doesn’t seem to like it.  Can anyone see what I am doing wrong?
>
> Stephen
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.11.7 - Release Date: 9/05/2005
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> To Post a message, send it to:   praat-users@eGroups.com
> To Unsubscribe, send a blank message to: praat-users-unsubscribe@eGroups.com
> To consult archives :          http://egroups.com/list/praat-users/
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

#1819 From: "dl9fz" <mail@...>
Date: Fri May 13, 2005 9:16 am
Subject: Automatic script execution at startup
dl9fz
Send Email Send Email
 
Hi,

with praat I want to automatically startup a script, when i start
praat from the commandline.
I cannot use praatcon, because I have to script the editors and this
is not possible with praatcon.
I also cannot use sendpraat and just say "sendpraat praat Open praat
script...     " Then the Script dialog is opened, but the script is
not being executed.
I read about the initialization script in the manual. I can write a
file called praat-user-startUp in my homedirectory and this file is
beeing executed at startup. I tried this and it worked, but first
action in my script is to show up a form to get a user input. This
form is not shown on startup with praat-user-startUp and so the
variables are not initialized.

Can anybody please tell me a way to automatically execute a script
on startup?  Perhaps there is a way to execute a script with
sendpraat?
Thanks for help and Greetings from Speyer


Florian Zahn

#1820 From: Paul Boersma <paul.boersma@...>
Date: Fri May 13, 2005 11:21 am
Subject: Re: Automatic script execution at startup
paulboersma
Send Email Send Email
 
At 09:16 +0000 13-05-2005, dl9fz wrote:
>I also cannot use sendpraat and just say "sendpraat praat Open praat
>script...     " Then the Script dialog is opened, but the script is
>not being executed.

say something like: sendpraat praat execute yourScript.praat

--

Paul Boersma
Institute of Phonetic Sciences, University of Amsterdam
Herengracht 338, 1016CG Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/
phone +31-20-5252385

#1821 From: "willyrssll" <willyrssll@...>
Date: Wed May 11, 2005 7:45 am
Subject: Voice Report
willyrssll
Send Email Send Email
 
Dear Praat Users,

Is it possible to save the complete Voice Report of every raw-file
from the praat shell script.
Here you can see my current script:
********************************************************************************\
**********************
form Read Big Endian RAW-files
comment directory
text location C:\test\
comment filename (i.e.: hal*.raw)
text searchfile *.raw
endform

Create Strings as file list... list 'location$'\'searchfile$'
numberoffiles = Get number of strings
select Strings list
Change... .raw "" 0 Literals

for ifile to numberoffiles
	 select Strings list
	 filename$ = Get string... ifile
	 Read Sound from raw 16-bit Big Endian file... 'location$'\'filename$'.raw
	 Edit
	 editor Sound 'filename$'
		 Show analyses... no no no no yes 100
		 Voice report
		 #
		 #Here, I will save the Voice Report in a txt or
                 #xls File
		 #
		 Close
	 endeditor
endfor
********************************************************************************\
*********************

Thanks for your help!!
Willy

#1822 From: Bianca Dimulescu <bianca.vieru@...>
Date: Fri May 13, 2005 1:35 pm
Subject: extract rows by row label
biancaxl
Send Email Send Email
 
Hello,

I have a problem with a tableofreal:
         - I create this tableofreal
                Read TableOfReal from headerless spreadsheet file... 'file$'
                 tar = selected("TableOfReal")
         - I select this tableofreal :
                 select 'tar'
         - I want to extract a row of this tableofreal
                 Extract rows by row label... 'phoneme$'
and Praat tells me:
               command "extract rows by row label..." not available for
current selection!!!!

Why?! I tried to make select all, and I have the same answer...

Thanks a lot,
Bianca

#1823 From: "Cedric Gendrot" <cedric.gendrot@...>
Date: Sat May 14, 2005 6:41 pm
Subject: RE: extract rows by row label
cedricgendrot
Send Email Send Email
 
Dear Bianca
" Extract rows by row label... 'phoneme$'  "
seems to be an old Praat command replaced nowadays by
"   Extract rows where label... "is equal to" a     "

thus allowing many more possibilities ....
best wishes  :)
cg


> -----Message d'origine-----
> De : praat-users@...
> [mailto:praat-users@...]De la part de Bianca Dimulescu
> Envoyé : vendredi 13 mai 2005 15:35
> À : praat-users@...
> Objet : [praat-users] extract rows by row label
>
>
> Hello,
>
> I have a problem with a tableofreal:
>         - I create this tableofreal
>                Read TableOfReal from headerless spreadsheet
> file... 'file$'
>                 tar = selected("TableOfReal")
>         - I select this tableofreal :
>                 select 'tar'
>         - I want to extract a row of this tableofreal
>                 Extract rows by row label... 'phoneme$'
> and Praat tells me:
>               command "extract rows by row label..." not available for
> current selection!!!!
>
> Why?! I tried to make select all, and I have the same answer...
>
> Thanks a lot,
> Bianca
>
>
>
>
> To Post a message, send it to:   praat-users@eGroups.com
> To Unsubscribe, send a blank message to:
> praat-users-unsubscribe@eGroups.com
> To consult archives :          http://egroups.com/list/praat-users/
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> --
> Ce message a été vérifié par MailScanner
> pour des virus et rien de
> suspect n'a été trouvé.
>
>

#1824 From: "Mauricio" <mardila@...>
Date: Sun May 15, 2005 3:09 am
Subject: Praat and CoreAudio
Mauro371
Send Email Send Email
 
Hello all, Paul,

I have a question. I am running on a Mac PowerBook with a PCMCIA card to a PCI
expansion
chassis where I  have an audio card. I want to run experiments using Praat with
this card. The
manufacturer has provided CoreAudio drivers which work fine with all other audio
software.

However, when I run Praat, no matter what I choose in the Systems Preference
pane, it will
always output sound via the internal speakers and not through the drivers and
the card.

Is Praat CoreAudio saavy? or does it always work with the internal sound? I am
running OS X
10.4, PowerBook G4 1Ghz, 1Gb RAM. This also happened when using Panther OS X
10.3.

Any ideas?

Thanks,

Mauricio Ardila

#1825 From: "Mauricio" <mardila@...>
Date: Sun May 15, 2005 4:45 pm
Subject: Re: Praat and CoreAudio
Mauro371
Send Email Send Email
 
Actually, I just tried it with another system, in a PowerMac G4, different audio
hardware
and system software (OSX 10.3.9) with same results.

Here's some more info. On the PowerBook, I am trying to use a LynxTWO card via
its
CoreAudio drivers and the PowerBook is running Tiger OSX 10.4. On the PowerMac
(G4
dual 450, 1MB RAM, OS X 10.3.9) I am trying to have Praat use a Digidesign
ProTools HD
system with a 192 I/O via its CoreAudio drivers. I also tried installing the
LynxTWO card
and loading the drivers in the PowerMac but got the same result:

In all cases, after switching the input and output to the appropriate drivers in
System
Preferences Sound, and double checking in AudioMIDI Setup, I still get output
via the
internal speakers only. I know these drivers work because all other software
works fine
with both of them from a number of different audio applications, as well as
Apple's own
software/system.

Any ideas?

Thanks,
Mauricio.

--- In praat-users@..., "Mauricio" <mardila@c...> wrote:
> Hello all, Paul,
>
> I have a question. I am running on a Mac PowerBook with a PCMCIA card to a PCI
expansion
> chassis where I  have an audio card. I want to run experiments using Praat
with this
card. The
> manufacturer has provided CoreAudio drivers which work fine with all other
audio
software.
>
> However, when I run Praat, no matter what I choose in the Systems Preference
pane, it
will
> always output sound via the internal speakers and not through the drivers and
the card.
>
> Is Praat CoreAudio saavy? or does it always work with the internal sound? I am
running
OS X
> 10.4, PowerBook G4 1Ghz, 1Gb RAM. This also happened when using Panther OS X
10.3.
>
> Any ideas?
>
> Thanks,
>
> Mauricio Ardila

#1826 From: "Mauricio" <mardila@...>
Date: Sun May 15, 2005 4:51 pm
Subject: Re: Praat and CoreAudio
Mauro371
Send Email Send Email
 
Here's an update. I managed to have Praat work with the LynxTWO card (turns out
the
drivers plist file was corrupted), but only when the card is at 44.1kHz. As soon
as I change
the sampling rate, restart, confirm the sampling rate is the correct one (96kHz
or 192kHz),
Praat reverts to playing audio via the internal speakers, regardless of the
settings in the
systems preference or the drivers' settings. Same thing happens with the
Digidesign
CoreAudio drivers on OS X 10.3.9. Plays through the CoreAudio drivers just fine
when in
44.1kHz, but not with higher sampling rates.

Mauricio.


--- In praat-users@..., "Mauricio" <mardila@c...> wrote:
> Actually, I just tried it with another system, in a PowerMac G4, different
audio hardware
> and system software (OSX 10.3.9) with same results.
>
> Here's some more info. On the PowerBook, I am trying to use a LynxTWO card via
its
> CoreAudio drivers and the PowerBook is running Tiger OSX 10.4. On the PowerMac
(G4
> dual 450, 1MB RAM, OS X 10.3.9) I am trying to have Praat use a Digidesign
ProTools HD
> system with a 192 I/O via its CoreAudio drivers. I also tried installing the
LynxTWO card
> and loading the drivers in the PowerMac but got the same result:
>
> In all cases, after switching the input and output to the appropriate drivers
in System
> Preferences Sound, and double checking in AudioMIDI Setup, I still get output
via the
> internal speakers only. I know these drivers work because all other software
works fine
> with both of them from a number of different audio applications, as well as
Apple's own
> software/system.
>
> Any ideas?
>
> Thanks,
> Mauricio.
>
> --- In praat-users@..., "Mauricio" <mardila@c...> wrote:
> > Hello all, Paul,
> >
> > I have a question. I am running on a Mac PowerBook with a PCMCIA card to a
PCI
> expansion
> > chassis where I  have an audio card. I want to run experiments using Praat
with this
> card. The
> > manufacturer has provided CoreAudio drivers which work fine with all other
audio
> software.
> >
> > However, when I run Praat, no matter what I choose in the Systems Preference
pane, it
> will
> > always output sound via the internal speakers and not through the drivers
and the
card.
> >
> > Is Praat CoreAudio saavy? or does it always work with the internal sound? I
am
running
> OS X
> > 10.4, PowerBook G4 1Ghz, 1Gb RAM. This also happened when using Panther OS X
10.3.
> >
> > Any ideas?
> >
> > Thanks,
> >
> > Mauricio Ardila

#1827 From: Paul Boersma <paul.boersma@...>
Date: Sat May 14, 2005 6:08 pm
Subject: Re: extract rows by row label
paulboersma
Send Email Send Email
 
At 15:35 +0200 13-05-2005, Bianca Dimulescu wrote:
>        - I want to extract a row of this tableofreal
>                Extract rows by row label... 'phoneme$'
>and Praat tells me:
>              command "extract rows by row label..." not available for
>current selection!!!!
>
>Why?! I tried to make select all, and I have the same answer...

Praat does not really understand English. That's why it cannot guess that by
"Extract rows by row label..." you mean the same as "Extract rows where
label...". Please use the exact wording that's on the menu button.
--

Paul Boersma
Institute of Phonetic Sciences, University of Amsterdam
Herengracht 338, 1016CG Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/
phone +31-20-5252385

#1828 From: Paul Boersma <paul.boersma@...>
Date: Wed May 18, 2005 11:07 am
Subject: Re: Praat and CoreAudio
paulboersma
Send Email Send Email
 
At 16:45 +0000 15-05-2005, Mauricio wrote:
> Is Praat CoreAudio savvy? or does it always work with the internal sound?

It is not a question of Praat being CoreAudio-compatible or not. On MacOS X,
there are two kinds of audio programs: those that use CoreAudio and those that
use SoundManager. Praat uses SoundManager (like all MacOS 9 programs). Praat
will work with any sound card for which you have installed the SoundManager
drivers.

Some sound cards support both SoundManager and CoreAudio. Digidesign should,
regarding the discussion about its CoreAudio support from Protools version 6.0.1
on. LynxTWO say they don't, and that they are not planning to provide any
SoundManager support.

Now that several card manufacturers have introduced CoreAudio support, and some
even don't have SoundManager support any longer, the time may have come that I
should turn Praat from a SoundManager program into a CoreAudio program. For the
built-in audio (speaker and jack) there should be no difference, but for
third-party sound cards there may be a difference. A transition to CoreAudio
seems reasonable, given the fact that Apple's own audio programs use it, and
that SoundManager does not support sample rates above 65 kHz (Praat converts
those to 44.1 kHz before playing). If I get it to work on a slow Mac, and the
sound does not hesitate when Praat's cursor is running, you can expect it some
time "soon".
--

Paul Boersma
Institute of Phonetic Sciences, University of Amsterdam
Herengracht 338, 1016CG Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/
phone +31-20-5252385

#1829 From: "frtorreira" <frtorreira@...>
Date: Wed May 18, 2005 12:01 pm
Subject: help with script
frtorreira
Send Email Send Email
 
Hi,

As part of a long script, I am trying to assign a list of names to a
list of untitled objects in the the objects window. I imagine that
it is easier to include the list in my script than calling an
external program, but maybe this is necessary. Does anyone know?

In my first attempt I would like to see first if I am able to rename
all the objects with a single. For the moment I haven´t managed to
do it yet. This is my script:

select all
numberOfObjects = numberOfSelected ("Sound")
for i to numberOfObjects
    name$ = selected$ ("Sound", i)
    select Sound 'name$'
    Rename... x
endfor

I was hoping to assign the name 'x' to all my objects, but it seems
that Praat doesn´t like the variable 'i' in the following line:

name$ = selected$ ("Sound", i)

Any idea on how to overcome this problem?

Once this problem is solved, I will try to figure out how to use a
different name taken from a list in every loop. I would be very
grateful if anyone could give me any hint. I have more than a
thousand files and this would save me a lot of time.

Thanks,
Francisco Torreira

#1830 From: Paul Boersma <paul.boersma@...>
Date: Wed May 18, 2005 11:52 pm
Subject: Re: help with script
paulboersma
Send Email Send Email
 
At 12:01 +0000 18-05-2005, frtorreira wrote:
>select all
>numberOfObjects = numberOfSelected ("Sound")
>for i to numberOfObjects
>   name$ = selected$ ("Sound", i)
>   select Sound 'name$'
>   Rename... x
>endfor
>
>I was hoping to assign the name 'x' to all my objects, but it seems
>that Praat doesn´t like the variable 'i' in the following line:
>
>name$ = selected$ ("Sound", i)

after you say "select Sound 'name$'", the selection consists of only one Sound,
so for i=2 it does not work anymore. Divide up the loop:

numberOfObjects = numberOfSelected ("Sound")
for i to numberOfObjects
    sound'i' = selected ("Sound", i)
endfor

You could then name them x1 through x1000 in the following way:

for i to numberOfObjects
    select sound'i'
    Rename... x'i'
endfor

Or you could have the names in a list in a text file, one name per line:

Read Strings from text file... names.txt
for i to numberOfObjects
    select Strings names
    name$ = Get string... i
    select sound'i'
    Rename... 'name$'
endfor

--

Paul Boersma
Institute of Phonetic Sciences, University of Amsterdam
Herengracht 338, 1016CG Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/
phone +31-20-5252385

#1831 From: "remilynn2000" <50006412@...>
Date: Mon May 23, 2005 3:23 am
Subject: about vowel chart
remilynn2000
Send Email Send Email
 
Excuse me, i have two questions about praat.
can we draw lpc in praat as that in csl?
how can we draw vowel ellipses, which contain formants data
from several subjects, in a vowel chart with F2 on bark
scales?
thanks!

#1832 From: "mathijsvanvulpen" <mathijs@...>
Date: Mon May 23, 2005 8:29 am
Subject: Pitch listing
mathijsvanvu...
Send Email Send Email
 
Hi all,

I want to write the Pitch listing from a sound editor to a file.
Manually this works bij writing the info window to a file, but when I
try it with my script:

select Sound sound
Edit
Select... t1 t2 # select all
Pitch listing .\info.txt # write to file

this will not work. Praat says that Pitch listing is a command not
available in the SounEditor. What am I doing wrong?

Thank you,

Mathijs

#1833 From: "Carol" <cpdrsn@...>
Date: Sun May 15, 2005 7:22 pm
Subject: neat format for formants, pitch and intensity
cpdrsn
Send Email Send Email
 
Hi all,

I want to get the values for four formants, pitch and intensity every
10ms.  I can get this if I use To Formant (burg), To Pitch and To
Intensity and change the time step(s) to 0.01s, rather than the
default.  However if I then write to text file (or short text file)
it's a pretty hideous-looking format...

I want the output as columns of time and values... ie what you get if
you edit the sound object, highlight the entire spectrum and go to
"formant listing" "pitch listing" or "intensity listing" (neat
feature, by the way)... unfortunately if you try this, the 10ms time
steps setting does NOT appear to carry over, and there is nowhere to
change them. *** Is there a way to fix this? ***

I can get pitch in a nice format by following the advice of previous
messages here (make the pitch object, down to pitch tier, write to
headerless spreadsheet file).  I think pitch's default is 10ms anyway.

The way to get the same for formant or intensity while maintaining the
time step is to do this:
* create a formant or intensity object by going To Formant or To
Intensity
* create a FormantTier or IntensityTier object
* go Down To Table of Real
* save as headerless spreadsheet file.

That was pretty obscure.  Am I messing anything up by doing this?

Anyway, my main question was about the 10ms time steps not being
carried over once changed.

Oh, I'd love to script this as I have multiple files, but I couldn't
script my way out of a wet paper bag. :-(  I'll see what I can learn,
eventually.

Sorry, this was a bit long.  Cheers,

Carol

#1834 From: "zeyzey333" <zi201@...>
Date: Fri May 20, 2005 10:22 am
Subject: problems with intensity manipulation
zeyzey333
Send Email Send Email
 
Hi,
I have recently started using Praat for some prosody manipulation. I
have my own framework for generating pitch and intensity contours
for a given utterance and I use praat to transplant these contours
onto the actual sound files. It has been working well with pitch
contour replacement - however i couldn't manage to do the
replacement of intensity.

It seems that whatever intensity tier I create, be it a flat DB
curve or a more complex curve, when it is multiplied it with the
sound, the same intensity gets created, which is louder, even if my
relative intensities in the tier are low...Am I doing something
quite wrong? It should be straightforward...

For instance what is an example tier for bringing the the amplitude
down by half in the entire sound?

I'd appreciate your help - thank you.

#1835 From: zafar iqbal <ziqbal_uet@...>
Date: Tue May 17, 2005 5:14 am
Subject: request for praat tutorials
ziqbal_uet
Send Email Send Email
 
hi
        i am a new praat user and i want some praat tutorials which help me .


best regards
zafar iqbal


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

#1836 From: "Domingo Roman M." <dromanm@...>
Date: Sat May 21, 2005 12:02 pm
Subject: primary stress symbol
doctor_oman_m
Send Email Send Email
 
How I can make the primary stress symbol using any backslash sequence?

Thanks!

Domingo Román Montes de Oca

#1837 From: "ziqbal_uet" <ziqbal_uet@...>
Date: Wed May 18, 2005 8:19 am
Subject: request for praat tutorials
ziqbal_uet
Send Email Send Email
 
dear praat users,
       i am new praat user and i want to use praat software for
analysis phase of my final thesis.so plz any body have the praat
tutorials ,can help me.

best regards
zafar iqbal(Msc computer science)
department of computer science
University of engineering and techology lahore
pakistan

Messages 1807 - 1837 of 6386   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?
Messages 1807 - 1837 of 6386   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! UK. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help