📺 Watch how to import Praat Annotations (Textgrids) into AAA - articulateinstruments/AAA-DeepLabCut-Resources GitHub Wiki
Click on the video below to watch it on YouTube.
The above video was recorded in AAA version 219 on 2nd December 2020
this is a tutorial about importing textgrids back into aaa now typically what you want to do is to have previously exported the audio files the wav files from a session that you've recorded in aaa which may also have ultrasound data and then you'll find that you have a folder with a wav file and a text file and this text file has the same file name stem as the wav file and it contains all of the information required to re-import a textgrid once you've generated one in Praat so typically you will load the wav file into Praat and then do your annotation within Praat and export a textgrid file now it's important that the textgrid file also has the same file name stem as this txt file and once you've done that for all of your files you can put them into a folder and i've got them in a folder here called my annotations now you don't need to have the wav file for re-importing you just need the textgrid and this dot txt file so if you open up the project that you want to import the textgrids into and go into file and import and then go down to textgrid you can search through your file manager and find the folder that contains the the textgrids that you've generated in this case it's the my annotations folder and click ok then you will get this dialog box you can check or uncheck a series of files that you would have here depending on which ones you want to import and then click ok now here we've got a confirmation notice now this is because this recording that we're trying to import into already has some annotations and you have two choices you can either delete all of the annotations in the current file and load in the new ones instead and that would be the delete option or you can keep the annotations in the current file and load in the new textgrid annotations in addition to those or you can in the case where you've got multiple files you can use these options which will then not keep asking you for each file it will just go through all of the files and either delete the existing annotations or keep the existing annotations now just as a test here we're inputting one file i'll click on keep here and you can see what happens is we've now got duplicates of the the annotations now this isn't ideal so typically in this case we would would be better to select delete and then you'd get new annotations it very much depends on whether you're adding annotations which don't already exist or whether you're adding annotations which existed previously so the choice is yours in this case you have to go in and delete the unwanted annotations one by one which is not ideal