Dear Lennes:
In your script total_duration_of_labeled_segments.praat I found this piece of code:
if start2 <= start1 and end2 >= end1 and label2$ = label$
total_duration = total_duration + duration
endif
This means that the intervals in the criterion_tier must be bigger or equal than those in the duration_tier to be counted. However, in the description you say that criterion_tier must be part of the intervals in tier number (duration_tier?)
This could be something like this?
if start2 >= start1 and end2 <= end1 and label2$ = label$
total_duration = total_duration + duration
endif
` ``
Bests,
- Rolando
Dear Lennes:
In your script total_duration_of_labeled_segments.praat I found this piece of code:
This means that the intervals in the
criterion_tiermust be bigger or equal than those in theduration_tierto be counted. However, in the description you say thatcriterion_tiermust be part of the intervals in tier number (duration_tier?)This could be something like this?