DTW & TextGrid: To TextGrid (warp times)

Create a new TextGrid from the selected DTW and TextGrid by warping the times from the selected TextGrid to the newly created TextGrid.


First we check whether the y-domain of the DTW and the domain of the TextGrid are equal. If they are, a new TextGrid is created by copying the selected one. We then change its domain and make it equal to the x-domain of the DTW. Then for each tier we change the domain and calculate new times by using the path.

Links to this page

© djmw, June 3, 2011