![]() The end result of these two lines of code is that Praat now has the names of the two files you highlighted. The second line does the exact same thing, but it looks saves the name of the TextGrid instead. My Sound file is called “19-Kathleen”, so now the variable thisSound$ contains the string “ 19-Kathleen”. The dollar sign at the end of that variable name means that the variable contains text rather than a number (in computer circles, text is often called “strings,” as in a string of characters). This name is then stored in a variable called thisSound$. What the first line does is it tells Praat to look at whatever Sound file is selected and extract its name. ![]() First off, it doesn’t even know what files to work with! We can tell it to work with the Sound and TextGrid files that are already loaded by putting in these lines of code into your Praat script: thisSound$ = selected$( "Sound") Now we “just” need to translate that into Praat’s scripting language.īefore we can do any of that, Praat needs to figure out a few things.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |