tag:blogger.com,1999:blog-7580586789577287731.post4268455627390428281..comments2024-03-06T09:20:22.863+11:00Comments on Mark's Speechblog: Do you have a Praat script that can...Mark Antoniouhttp://www.blogger.com/profile/01378196160814664505noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-7580586789577287731.post-4776924075632737342021-05-27T11:52:29.328+10:002021-05-27T11:52:29.328+10:00No need to cite, Kris. I guess you could put a few...No need to cite, Kris. I guess you could put a few words in the Acknowledgements. No pressure from me though. Glad that you found the scripts useful. Reach out if you need anything. Kind regards, MarkMark Antoniouhttps://www.blogger.com/profile/04227282811079878050noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-46138043989023725012021-05-27T10:40:26.885+10:002021-05-27T10:40:26.885+10:00Hi Mark!
How can I cite you if I am using your sc...Hi Mark! <br />How can I cite you if I am using your scripts in my work? <br />Thanks! <br />Kris Anonymoushttps://www.blogger.com/profile/17597776001222572423noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-69458612896162593542018-01-31T15:39:01.946+11:002018-01-31T15:39:01.946+11:00Here you go, Gazz.
1. I haven't done this. Ta...Here you go, Gazz.<br /><br />1. I haven't done this. Take a look at this http://www.fon.hum.uva.nl/rob/VocalTractExamples/<br /><br />2. I have scripts on this blog that ramp in and out. Just modify those.<br /><br />3. Objects → Filter → Filter (Pass Hann Band)Mark Antoniouhttps://www.blogger.com/profile/04227282811079878050noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-89752782599328578932018-01-10T13:36:10.232+11:002018-01-10T13:36:10.232+11:00Hi Mark
How do I do this on PRAAT
1) synthesize ...Hi Mark<br /><br />How do I do this on PRAAT<br /><br />1) synthesize vowels (/i, u/) with custom fundamental and formant values? <br /><br /><br />2) what method do I use to include a cosine squared 10msec ramp <br /><br />3) how can I low pass filter the stimuli using PRAAT<br /><br />Highly appreciate if you could help me with this<br />Gazzhttps://www.blogger.com/profile/09220437172183762441noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-47377365066688291672016-04-28T14:43:07.608+10:002016-04-28T14:43:07.608+10:00Hi brak czegoś,
I guess that depends on what exac...Hi brak czegoś,<br /><br />I guess that depends on what exactly you mean by compare. With Praat, you may make various acoustic measurements and compare the values at various timepoints or within a specified window. Praat will not allow you to create a new spectrogram that shows the differences between the model spectrogram and the student's spectrogram. For that you would need to use a more sophisticated signal processing software package such as Matlab or Sigview etc. This discussion might prove useful https://www.researchgate.net/post/How_can_I_compare_the_frequency_spectra_of_two_different_audio_signals Mark Antoniouhttps://www.blogger.com/profile/04227282811079878050noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-70011505339459839262016-04-25T23:05:44.185+10:002016-04-25T23:05:44.185+10:00Hello Mark!
Can you please advise if it is avail...Hello Mark! <br /><br />Can you please advise if it is available to compare two spectrograms with the use of PRAAT and how to do it? I have a 'model' recording and the recordings of students and I would like to compare them with the use of PRAAT, however...I don't know why. Can you please give me a piece of advice how to start and where I should look to find the answer?<br /> brak czegośhttps://www.blogger.com/profile/00346532623508056040noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-40130389421386039322015-12-15T11:25:08.730+11:002015-12-15T11:25:08.730+11:00LIU Lei, I don't work like that, so I can'...LIU Lei, I don't work like that, so I can't give you a tried and tested solution. One solution might be to use a 'working' directory where you dump all your files and output them to other directories. Another solution would be to specify multiple input directories, although this can get messy.Mark Antoniouhttps://www.blogger.com/profile/04227282811079878050noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-79676683630301601552015-12-13T23:47:03.675+11:002015-12-13T23:47:03.675+11:00Thank you for your sharing your scripts.
As you ...Thank you for your sharing your scripts. <br /><br />As you know, we can easily create a file list using "Create Strings as file list",but can you tell me how to create a directory list because I want to handle many sound and textgrid files in many different folders using one Praat script.Anonymoushttps://www.blogger.com/profile/15023188945727451099noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-47281994098486854682015-08-21T18:53:53.390+10:002015-08-21T18:53:53.390+10:00Hi Mark I need your help.
would u please share ur ...Hi Mark I need your help.<br />would u please share ur email id?astraeahttps://www.blogger.com/profile/05773165496067405862noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-87010934232484572712015-06-29T12:10:42.785+10:002015-06-29T12:10:42.785+10:00It's hard to say what problem some of you are ...It's hard to say what problem some of you are experiencing, Sarah, particularly since it works for some but not others. It probably has something to do with the directory not being specified correctly. <br /><br />On Windows, it is a good idea to use a directory with a simple path such as C:/Praat/ so that there aren't any spaces in the folder names.<br /><br />Another tip is to make sure that you include the final slash, in the above example, after Praat.<br /><br />Praat recognises blank spaces as characters, so go through each line of code in the script and make sure that you don't have any spaces (or tabs) at the end of each line of code.<br /><br />Finally, make sure that the filetype matches your sound files, e.g., wav vs. aiff.Mark Antoniouhttps://www.blogger.com/profile/04227282811079878050noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-39276181806858068062015-06-28T07:04:39.472+10:002015-06-28T07:04:39.472+10:00Hi, Mark. I'm using your "get measurement...Hi, Mark. I'm using your "get measurements" script for my acoustic phonetics course. The whole class has been having a strange problem where the script runs, but on some of our computers there is no output anywhere that we can find. Some of us get the resulting measurements.txt file but for others it doesn't show up in any folder on the computer. We're all using the same script and not getting errors. Any idea what could be going wrong? It doesn't seem to be a OSX v. Windows problem, because it didn't work on one Windows laptop but did work on another. Sarahhttps://www.blogger.com/profile/01404031218913039280noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-54607773307182676612015-06-24T02:55:04.403+10:002015-06-24T02:55:04.403+10:00Thank you! This was very helpful.Thank you! This was very helpful.Anonymoushttps://www.blogger.com/profile/14648841538025685336noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-86949464429972602042015-06-22T10:15:25.328+10:002015-06-22T10:15:25.328+10:00David, I have had great success mixing fricatives ...David, I have had great success mixing fricatives (e.g., /s/-/f/), but haven't really used this particular script for creating vowel continua. If I had to guess, I would say that the issue that you are experiencing is that of trying to mix a diphthong with a monophthong. One thing to try would be to normalise the intensity of the vowels first so that they are of equal intensity, and thus contribute equally at the continuum midpoint (50%) step, but I suspect that there will still be some weirdness due to the differences in vowel quality and formant transitions in the diphthong. <br /><br />Failing that, you may wish to try using Straight, a Matlab-based tool that morphs one stimulus into another in a series of discreet steps http://www.wakayama-u.ac.jp/~kawahara/STRAIGHTadv/index_e.html. It's hard to say exactly what it does, for example, to describe it in a Method section of a manuscript. From what I understand, it decomposes a sound file into a series of objects (pitch, voicing, duration, etc.) and then manipulates these objects to resynthesise a series of sound files varying between two points. The reason why I do not use it for my purposes is because it is not clear exactly what it is doing, and it is not symmetrical. For example, if you were to create a 11-step bake-back continuum and then reversed the endpoints and created a 11-step back-bake continuum, the two continua would not be the same 11 steps but in reverse order. The stimulus tokens would actually be (sometimes very) different and the 50% midpoints would not be identical either.Mark Antoniouhttps://www.blogger.com/profile/04227282811079878050noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-44819699552627864872015-06-21T02:27:15.272+10:002015-06-21T02:27:15.272+10:00Hello Mark,
Thank you for posting these scripts! ...Hello Mark,<br /><br />Thank you for posting these scripts! I've found some of them very helpful. One I've been using is the sound mixer, step maker. It normally works really well, but I run into an issue sometimes where it's noticeable that there are two files mixed together even after I've controlled for consonant and vowel durations. It usually happens when I try to mix something like 'bake' with 'back' or 'bock'. Have you ever come across this? Or do you have any ideas on how to address this? <br /><br />Thank you in advance for any insight you can provide,<br /><br />DavidAnonymoushttps://www.blogger.com/profile/14648841538025685336noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-59302806641598568322013-07-05T16:37:20.603+10:002013-07-05T16:37:20.603+10:00do you have any praat script for modifying pitch,i...do you have any praat script for modifying pitch,intensity... Anonymoushttps://www.blogger.com/profile/05005423269209298870noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-35491858624800051492012-12-13T19:52:50.476+11:002012-12-13T19:52:50.476+11:00Hi Mark, a bunch of thanks for sharing scripts. Th...Hi Mark, a bunch of thanks for sharing scripts. They are really useful indeed! However, I've tried many scripts, and they don't work. Don't know why. Maybe I misunderstand something.Unknownhttps://www.blogger.com/profile/04659278614222159051noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-21820855817813596892012-06-26T05:14:10.742+10:002012-06-26T05:14:10.742+10:00Where could the script be going wrong?
The proble...<i>Where could the script be going wrong?</i><br /><br />The problem is that you are looking for the Praat Sound object called woscreamCT.wav, but Praat removes the .wav extension when it loads files into the Objects window.<br /><br />To fix this, delete<br />fileName$ = Get string... ifile<br /><br />Then, under Read from file... 'directory$'/'fileName$'<br />insert this<br /><b>objName$ = selected$ ("Sound")</b><br /><br />So now, when you want to manipulate the sound object, you refer to objName$ not fileName$.<br /><br />Also, change editor 'fileName$' to<br />editor <b>Sound</b> 'objName$'<br /><br /><i>Also what does 0 and 5 mean in the Select command (duration of the sound file in msec?)</i><br /><br />The <b>Select...</b> command (note that the 3 periods after Select are important) selects a portion of the sound file in the Editor window. The first value is the beginning of the selection, the second value is the end of the selection, and both are measured in seconds. Typically, individual stimulus tokens are less than 5 seconds in duration, so the Select... 0 5 command in your script is essentially acting as a "Select All".Mark Antoniouhttps://www.blogger.com/profile/01378196160814664505noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-4269407689742668872012-06-26T02:35:28.134+10:002012-06-26T02:35:28.134+10:00Hi Mark,
I have four sound categories and wanting...Hi Mark,<br /><br />I have four sound categories and wanting to compare the mean pitch for across categories. I have more than 40 sounds in each category. I am trying to create a script that can extract the mean pitch and mean HNR for each of the sounds.<br /><br />I am using the following script to extract the mean pitch of sounds. All files with prefix Sound gets loaded into the list of objects. However, the script fails at editor fileName$'command saying Editor "Sound woscreamCT.wav does not exist where woscreamCT.wav is the last file in the directory.<br /><br />Where could the script be going wrong? Also what does 0 and 5 mean in the Select command (duration of the sound file in msec?)<br /><br />Thank you.<br /><br />Sincerely,<br />Shanker<br /><br />directory$ = "/Thesis/.../Sounds/Final"<br />Create Strings as file list... list 'directory$'/*.wav<br />numberOfFiles = Get number of strings<br />for ifile to numberOfFiles<br /> select Strings list<br /> fileName$ = Get string... ifile<br /> Read from file... 'directory$'/'fileName$'<br />endfor<br />Edit<br />editor 'fileName$'<br />Select... 0 5<br />Zoom to selection<br />f0 = Get pitch<br />fileappend 'end_directory$'test.txt 'f0''tab$'<br />endeditor<br />endfor<br />select all<br />Removeseekerhttps://www.blogger.com/profile/12532855239153519377noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-86243136159167947672012-04-03T13:33:41.519+10:002012-04-03T13:33:41.519+10:00You could create a more complicated version of wha...You could create a more complicated version of what I have recommended above, by subtracting the duration that you have deleted to each boundary, although this will get messy very quickly. Good luckMark Antoniouhttps://www.blogger.com/profile/01378196160814664505noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-65919570959813942852012-04-03T08:47:59.059+10:002012-04-03T08:47:59.059+10:00thanks for your suggestion..i need to add/delete d...thanks for your suggestion..i need to add/delete duration in several segments in different interval..i did delete one interval..but the rest of interval would be change also.Iinhttps://www.blogger.com/profile/06747719243124333377noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-25101415417049595522012-04-03T02:32:55.924+10:002012-04-03T02:32:55.924+10:00I don't have a script that does exactly what y...I don't have a script that does exactly what you want, Lin. If you have a sound file and add 50 ms duration,, all you would need to do is get the duration of the sound and add the new value (i.e., 50 ms). You could do this with something like<br /><br />soundDuration = soundDuration + 0.05Mark Antoniouhttps://www.blogger.com/profile/01378196160814664505noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-21313184610868777642012-04-03T02:16:09.547+10:002012-04-03T02:16:09.547+10:00Thanks Mark for sharing many scripts.
I have a pro...Thanks Mark for sharing many scripts.<br />I have a problem with editing the sound..try to add/delete duration..but the text grid does not automatically change..so i should manually add/delete text..and it is not that easy..<br />could you suggest which script that suitable for kind of need?Iinhttps://www.blogger.com/profile/06747719243124333377noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-67811278404856281372012-03-31T01:36:08.170+11:002012-03-31T01:36:08.170+11:00Thanks Duc. The script chop, measure, preserve tex...Thanks Duc. The script <b>chop, measure, preserve textgrids.praat</b> does just about everything that you want. You will need to modify it to get the preceding (and/or following) intervals. Other than that it should work fine. You also may need to modify which tier of your textgrids the script looks on to find word boundaries.Mark Antoniouhttps://www.blogger.com/profile/01378196160814664505noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-59537639820577093142012-03-30T10:36:51.581+11:002012-03-30T10:36:51.581+11:00Hi Mark,
You are guru of praat scipting. I have h...Hi Mark,<br /><br />You are guru of praat scipting. I have hundreds of wav files recorded isolate words. Each file records a word. Do you have a Praat script for doing following jobs: measure word durations, measure the length intervals preceding the words then save them as a table, and chop just the words and save them as wave files.<br /><br />Thanks in advance!<br /><br />DucPhạm Hiểnhttps://www.blogger.com/profile/04816898837835535575noreply@blogger.comtag:blogger.com,1999:blog-7580586789577287731.post-33641894317688216892012-03-30T10:33:51.174+11:002012-03-30T10:33:51.174+11:00This comment has been removed by the author.Phạm Hiểnhttps://www.blogger.com/profile/04816898837835535575noreply@blogger.com