Discussion:
[praat-users] How to make a VOT continuum
ar.lilian@yahoo.com [praat-users]
2016-01-18 12:15:15 UTC
Permalink
Dear colleagues,

I need to make a continuum of tokens between 2 prototypical stop consonants as first option, but it could be also between fricatives. As per some descriptions that I found, it does not seem straightforward, because on top of subdividing the VOT duration and incrementing it in a continuum, other steps are also needed, such as ajusting pitch, formants and duration. I found 2 scripts that could do all the steps, but they all crash and I don't know how to solve the problem, since the error messages are not informative enough (and also I am not a programmer). I wonder if you have a working script to share or a source indicating which steps I should follow to accomplish this task. I could not figure out how with the Praat manual.



I appreciate your help.


Thank you.

Regards,
Lilian.
José Joaquín Atria jjatria@gmail.com [praat-users]
2016-01-18 12:22:49 UTC
Permalink
What are the scripts that you've tried?

If you identify the scripts that you've tried, there's a good enough
chance that the authors will read your email and provide assistance.
And even if they don't, you won't get people suggesting you to try the
ones that you've already tried.

José Joaquín Atria

www.pinguinorodriguez.cl
Post by ***@yahoo.com [praat-users]
Dear colleagues,
I need to make a continuum of tokens between 2 prototypical stop consonants
as first option, but it could be also between fricatives. As per some
descriptions that I found, it does not seem straightforward, because on top
of subdividing the VOT duration and incrementing it in a continuum, other
steps are also needed, such as ajusting pitch, formants and duration. I
found 2 scripts that could do all the steps, but they all crash and I don't
know how to solve the problem, since the error messages are not informative
enough (and also I am not a programmer). I wonder if you have a working
script to share or a source indicating which steps I should follow to
accomplish this task. I could not figure out how with the Praat manual.
I appreciate your help.
Thank you.
Regards,
Lilian.
mwinn83@yahoo.com [praat-users]
2016-01-18 16:35:39 UTC
Permalink
Lilian, I have posted a script that you might find useful for making a VOT continuum. It lets you adjust whether you want the pitch to remain the same or span a continuum across the steps (including having it vary *along with* VOT, or *orthogonal to* VOT). The script assumes that you're starting with two sounds - a voiced onset and a voiceless (aspirated) onset sound... but I suppose if you wanted a fricative instead, that is feasible, though it might sound funny.


Regarding formants - since the vowel of the voiced-onset sound is "cut back", the formants will change along with that cutback, as they do in natural speech. This script allows you to determine the range of exchange between cutback and insertion of the aspiration portion. That is, you can do a 1-for-1 trade, or say, cutback only 0.5 ms of vowel for every 1ms aspiration you insert. Options like these are at the bottom of the script (not in the pop-up window that appears when you run it.


Please find the script at:


http://www.mattwinn.com/praat/Make_VOT_Continuum_v10.txt http://www.mattwinn.com/praat/Make_VOT_Continuum_v10.txt



PS: Note for future readers of this post: I occasionally update the scripts on this page, so see the parent "praat" directory on the website for current links.


Matt
mwinn83@yahoo.com [praat-users]
2016-01-19 06:24:15 UTC
Permalink
Lilian and others (attention Paul!) I've revisited this script and tried to debug it, but found (as you said) that it causes Praat to crash. I've stopped it at various points and the little pauses have surprisingly enabled it to continue through to the end. In other words, something that shouldn't affect any computations (pauses) is the difference between crashing and not crashing. This has only happened since I've downloaded the new Praat (version 6.0+).


I'll wait for the next update, and then maybe chime in again if it's still causing issues.


Matt
José Joaquín Atria jjatria@gmail.com [praat-users]
2016-01-19 10:00:21 UTC
Permalink
When you say "it crashes", how exactly does it crash? What are the
error messages it throws? Do they have anything in common?

Maybe other people can help with the debugging, particularly if this
might affect other scripts (specially if this is an example of
broken.backwards compatibility, which should not happen).


José Joaquín Atria

www.pinguinorodriguez.cl
Post by ***@yahoo.com [praat-users]
Lilian and others (attention Paul!)
I've revisited this script and tried to debug it, but found (as you said)
that it causes Praat to crash. I've stopped it at various points and the
little pauses have surprisingly enabled it to continue through to the end.
In other words, something that shouldn't affect any computations (pauses) is
the difference between crashing and not crashing. This has only happened
since I've downloaded the new Praat (version 6.0+).
I'll wait for the next update, and then maybe chime in again if it's still causing issues.
Matt
mwinn83@yahoo.com [praat-users]
2016-01-19 15:55:17 UTC
Permalink
There were no error messages, Praat simply stops working - it's more of a "Windows" error message. I welcome any attempts at debugging using the script link I provided earlier. As I said, I found some success by simply putting pauses at short intervals during the script (say, before each meaningful computation, to see where the culprit was). As I walked through each step manually, there was no problem. And as I walked through using pauses there was no problem. Only when running fully automatically was there a problem.
Lílian Almeida ar.lilian@yahoo.com [praat-users]
2016-01-19 17:06:19 UTC
Permalink
Thank you, Matt.
It might be some sort of incompatibility with the newest version of Praat then. I managed to make the script work in another computer, also with a Windows 7, as the previous ones, but with Praat version 6.0.05.


From: "***@yahoo.com [praat-users]" <praat-users-***@yahoogroups.co.uk>
To: praat-***@yahoogroups.co.uk
Sent: Tuesday, January 19, 2016 6:24 AM
Subject: [praat-users] Re:: How to make a VOT continuum

  Lilian and others (attention Paul!)I've revisited this script and tried to debug it, but found (as you said) that it causes Praat to crash. I've stopped it at various points and the little pauses have surprisingly enabled it to continue through to the end. In other words, something that shouldn't affect any computations (pauses) is the difference between crashing and not crashing. This has only happened since I've downloaded the new Praat (version 6.0+). 
I'll wait for the next update, and then maybe chime in again if it's still causing issues. 
Matt #yiv5822948508 #yiv5822948508 -- #yiv5822948508ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv5822948508 #yiv5822948508ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv5822948508 #yiv5822948508ygrp-mkp #yiv5822948508hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv5822948508 #yiv5822948508ygrp-mkp #yiv5822948508ads {margin-bottom:10px;}#yiv5822948508 #yiv5822948508ygrp-mkp .yiv5822948508ad {padding:0 0;}#yiv5822948508 #yiv5822948508ygrp-mkp .yiv5822948508ad p {margin:0;}#yiv5822948508 #yiv5822948508ygrp-mkp .yiv5822948508ad a {color:#0000ff;text-decoration:none;}#yiv5822948508 #yiv5822948508ygrp-sponsor #yiv5822948508ygrp-lc {font-family:Arial;}#yiv5822948508 #yiv5822948508ygrp-sponsor #yiv5822948508ygrp-lc #yiv5822948508hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv5822948508 #yiv5822948508ygrp-sponsor #yiv5822948508ygrp-lc .yiv5822948508ad {margin-bottom:10px;padding:0 0;}#yiv5822948508 #yiv5822948508actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv5822948508 #yiv5822948508activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv5822948508 #yiv5822948508activity span {font-weight:700;}#yiv5822948508 #yiv5822948508activity span:first-child {text-transform:uppercase;}#yiv5822948508 #yiv5822948508activity span a {color:#5085b6;text-decoration:none;}#yiv5822948508 #yiv5822948508activity span span {color:#ff7900;}#yiv5822948508 #yiv5822948508activity span .yiv5822948508underline {text-decoration:underline;}#yiv5822948508 .yiv5822948508attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv5822948508 .yiv5822948508attach div a {text-decoration:none;}#yiv5822948508 .yiv5822948508attach img {border:none;padding-right:5px;}#yiv5822948508 .yiv5822948508attach label {display:block;margin-bottom:5px;}#yiv5822948508 .yiv5822948508attach label a {text-decoration:none;}#yiv5822948508 blockquote {margin:0 0 0 4px;}#yiv5822948508 .yiv5822948508bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv5822948508 .yiv5822948508bold a {text-decoration:none;}#yiv5822948508 dd.yiv5822948508last p a {font-family:Verdana;font-weight:700;}#yiv5822948508 dd.yiv5822948508last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv5822948508 dd.yiv5822948508last p span.yiv5822948508yshortcuts {margin-right:0;}#yiv5822948508 div.yiv5822948508attach-table div div a {text-decoration:none;}#yiv5822948508 div.yiv5822948508attach-table {width:400px;}#yiv5822948508 div.yiv5822948508file-title a, #yiv5822948508 div.yiv5822948508file-title a:active, #yiv5822948508 div.yiv5822948508file-title a:hover, #yiv5822948508 div.yiv5822948508file-title a:visited {text-decoration:none;}#yiv5822948508 div.yiv5822948508photo-title a, #yiv5822948508 div.yiv5822948508photo-title a:active, #yiv5822948508 div.yiv5822948508photo-title a:hover, #yiv5822948508 div.yiv5822948508photo-title a:visited {text-decoration:none;}#yiv5822948508 div#yiv5822948508ygrp-mlmsg #yiv5822948508ygrp-msg p a span.yiv5822948508yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv5822948508 .yiv5822948508green {color:#628c2a;}#yiv5822948508 .yiv5822948508MsoNormal {margin:0 0 0 0;}#yiv5822948508 o {font-size:0;}#yiv5822948508 #yiv5822948508photos div {float:left;width:72px;}#yiv5822948508 #yiv5822948508photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv5822948508 #yiv5822948508photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv5822948508 #yiv5822948508reco-category {font-size:77%;}#yiv5822948508 #yiv5822948508reco-desc {font-size:77%;}#yiv5822948508 .yiv5822948508replbq {margin:4px;}#yiv5822948508 #yiv5822948508ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv5822948508 #yiv5822948508ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv5822948508 #yiv5822948508ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv5822948508 #yiv5822948508ygrp-mlmsg select, #yiv5822948508 input, #yiv5822948508 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv5822948508 #yiv5822948508ygrp-mlmsg pre, #yiv5822948508 code {font:115% monospace;}#yiv5822948508 #yiv5822948508ygrp-mlmsg * {line-height:1.22em;}#yiv5822948508 #yiv5822948508ygrp-mlmsg #yiv5822948508logo {padding-bottom:10px;}#yiv5822948508 #yiv5822948508ygrp-msg p a {font-family:Verdana;}#yiv5822948508 #yiv5822948508ygrp-msg p#yiv5822948508attach-count span {color:#1E66AE;font-weight:700;}#yiv5822948508 #yiv5822948508ygrp-reco #yiv5822948508reco-head {color:#ff7900;font-weight:700;}#yiv5822948508 #yiv5822948508ygrp-reco {margin-bottom:20px;padding:0px;}#yiv5822948508 #yiv5822948508ygrp-sponsor #yiv5822948508ov li a {font-size:130%;text-decoration:none;}#yiv5822948508 #yiv5822948508ygrp-sponsor #yiv5822948508ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv5822948508 #yiv5822948508ygrp-sponsor #yiv5822948508ov ul {margin:0;padding:0 0 0 8px;}#yiv5822948508 #yiv5822948508ygrp-text {font-family:Georgia;}#yiv5822948508 #yiv5822948508ygrp-text p {margin:0 0 1em 0;}#yiv5822948508 #yiv5822948508ygrp-text tt {font-size:120%;}#yiv5822948508 #yiv5822948508ygrp-vital ul li:last-child {border-right:none !important;}#yiv5822948508
mwinn83@yahoo.com [praat-users]
2016-01-27 15:33:32 UTC
Permalink
Lilian and other users, The latest version of Praat (6.0.12) corrects the problem previously reported for this VOT continuum script. It is now crash-free. Thanks, Paul!


Matt

Loading...