![]() ![]() # If you knew beforehand what objects to select,Īs an aside, the selection plugin available through CPrAN was written to make it easier to manage Praat object selections for cases such as this. # Select all the objects you want to remove # Save the ID numbers of the currently selected intervals Textgrid = To TextGrid (silences): -35, 0.1, 0.05, silent, sounding I changed some variable names to make it easier to follow. This might sound obvious, but you can save the ID numbers of the multiple extracted intervals by saving each of them into an indexed variable, and then re-selecting them when you need to remove them.īelow you'll find an edited and commented version of your script. ![]() Although I could still run it like that my directory would be flooded and I do not think this is elegant. Therefore later on I do not have a reference to remove it from my object directory. However because this line produces more that one variable I cannot save it. Then I use concatenate immediately to create the desired file and select it. In this line the parts that contain sound are extracted and selected. 35 0.1 0.05 'silent' 'sounding'Įxtract intervals where: 1, "no", "contains", "sounding"Īlthough I get what I want my problem is in the line Extract intervals where: 1, "no", "contains", "sounding" I have created this script that I will put in a for loop. I try to create a script in praat that will go through some objects in my object list with a for loop and will remove silent intervals. I am new to praat, so maybe this is an easy question. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |