Seeking Help with Praat Script - Need Experienced Eye to Spot Error
Hello everyone,
I am currently writing a fairly simple Praat script, but I can't seem to find the error. I am attaching my script and I am certain that someone more experienced than me will immediately see the problem. Thank you for your responses, and sorry if this problem is too basic for your level, please be patient with the beginner that I am.
On 12 Mar 2023, at 10:00, julekcecelewski via groups.io <julekcecelewski@...> wrote:
Hello everyone,
I am currently writing a fairly simple Praat script, but I can't seem to find the error. I am attaching my script and I am certain that someone more experienced than me will immediately see the problem. Thank you for your responses, and sorry if this problem is too basic for your level, please be patient with the beginner that I am.
<script_analyse_formants_l_test.praat>
Spuistraat 134, room 632
1012VB Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/
Thank you very much for your response and your attention.
You are absolutely right about the information that it is important to mention. I should have specified that I was not getting an error message and that the script seemed to be running through the loops without extracting the formant values.
I am working on the latest version of Praat software (2 March, 64-bit edition for Windows).
In my TextGrid, tire 1 corresponds to the word-level (written form), tire 2 to the phonological transcription (word-level), and tire 3 to the phoneme level, as segmented by WebMAUS.
The script should iterate through the intervals on tire 4 (syllables, manually specified on selected occurrences), each syllable corresponding either to a sequence of lV or wV, or to Vl or Vw, and depending on the syllabic structure, extract the values of F1 and F2 at each 1/10 of the entire duration of the consonant and up to the middle of the vowel.
For now, after making some modifications, the script is working, it just seems very heavy for Praat. I suppose there may be redundancies that I could have avoided and that slow down the execution.
I am attaching below the version after the modifications.
On 12 Mar 2023, at 15:17, julekcecelewski via groups.io <julekcecelewski@...> wrote:
Dear Paul,
Thank you very much for your response and your attention.
You are absolutely right about the information that it is important to mention. I should have specified that I was not getting an error message and that the script seemed to be running through the loops without extracting the formant values.
I am working on the latest version of Praat software (2 March, 64-bit edition for Windows).
In my TextGrid, tire 1 corresponds to the word-level (written form), tire 2 to the phonological transcription (word-level), and tire 3 to the phoneme level, as segmented by WebMAUS.
The script should iterate through the intervals on tire 4 (syllables, manually specified on selected occurrences), each syllable corresponding either to a sequence of lV or wV, or to Vl or Vw, and depending on the syllabic structure, extract the values of F1 and F2 at each 1/10 of the entire duration of the consonant and up to the middle of the vowel.
For now, after making some modifications, the script is working, it just seems very heavy for Praat. I suppose there may be redundancies that I could have avoided and that slow down the execution.
I am attaching below the version after the modifications.
<script_analyse_formants_l_test.praat>
Spuistraat 134, room 632
1012VB Amsterdam, The Netherlands
http://www.fon.hum.uva.nl/paul/