Quick way to save work in 100s increments?


kodouard@...
 

Hello, I am not very experienced with praat so this might be a very basic question. I have been transcribing longer-form interviews in praat, and would like to take these textgrids and .wav files and split them into many 100-second files that all start at t=0. Is there a faster way to do this than "save selected sound as WAV file" and saving the extracted texgrid for that same selection in 100-second increments? Being able to do this more automatically would save me a lot of time, so any help is much appreciated. Thank you.


Daniel Hirst
 

Hello Koduard

this script does what I think you want:

https://nakala.fr/10.34847/nkl.b3ffzh1p
It requires one Long Sound and (optionally) one TextGrid to be selected in the Object window

It then allows you to segment the Long Sound into Sound segments of a fixed duration (with an optional overlap) and to save them (and the corresponding TextGrid segments into a specified folder.

The script itself is several years old but it still seems to work - I took the opportunity this morning of updating the old syntax to the current syntax.

Let me know if you have any problems accessing or using the script

best

daniel



On 17 Jan 2023, at 23:41, kodouard@... wrote:

Hello, I am not very experienced with praat so this might be a very basic question. I have been transcribing longer-form interviews in praat, and would like to take these textgrids and .wav files and split them into many 100-second files that all start at t=0. Is there a faster way to do this than "save selected sound as WAV file" and saving the extracted texgrid for that same selection in 100-second increments? Being able to do this more automatically would save me a lot of time, so any help is much appreciated. Thank you.
———————————————————————————————————
alternative email: <daniel.hirst@...>
please don’t use addresses with @lpl-aix.fr any more

CNRS Laboratoire Parole et Langage (UMR 7309) - salle A304
Aix-Marseille University, 5 avenue Pasteur BP 80975
tel: +33-4-1355-2712 secr: +33-4-1355-3632/4
13604 Aix-en-Provence, Cedex 1, France
———————————————————————————————————
ORCID https://orcid.org/0000-0002-9148-4586
Speech Prosody SIG http://sprosig.org/
Praat-users list: https://groups.io/g/Praat-Users-List
My publications: https://www.researchgate.net/profile/Daniel_Hirst
———————————————————————————————————


kodouard@...
 

Hello! Thank you so much, this will save me so much time. It is greatly appreciated. Unfortunately, the second to last .wav file created by this script always yields an error. It says that the file is corrupted or that something is wrong with the extension. Do you know how I might fix this? Thank you again for the help.