Closed qiangxiajinjin closed 1 year ago
The reason why it does not work is probably that two tiernames in the TexgGrid are (almost) identical (one is uppercase and the other is lowercase). After I rename them, it works well 🥲
No, renaming tiers does not solve the problem. I got the same error message again... 😞
in TextGridToBundleAnnotDFs(tgPath, sampleRate = 2000, name = "tmpBundleName", : Couldn't find a match for [intervals|points]:\s*size in ~/MA-data/analyse/collection/bg/bg_f_diapix1_m14m13_ch1.TextGrid!!! The first few lines of the current tier are (might help spot the error...): NA
This seems to be a problem with the 'short' TextGrid format. When you save a TextGrid from Praat, you'll get the option to "Save as text file..." or "Save as short text file...". I had the same issue and when I 'saved as text file' instead of 'as short text file', the problem was solved.
This seems to be a problem with the 'short' TextGrid format. When you save a TextGrid from Praat, you'll get the option to "Save as text file..." or "Save as short text file...". I had the same issue and when I 'saved as text file' instead of 'as short text file', the problem was solved.
Thanks a lot! It really solved my problem! Exactly the "short text file" caused the error.
I have a problem with converting TextGrids into the emuDB format. When I try the following code `
for my data collection, I get the following error message:
I don't understand why there is no match for the .TextGrid file, because I do have a .wav file sharing the same basename. Or does it mean something else rather than a wav counterpart?
I don't understand the error
The first few lines of the current tier are (might help spot the error...): NA
either. As far as I see in the mentioned TextGrid, the "lines" are not empty. Do I take the message wrong again?