Skip to content

Possible bug-total_duration_of_labeled_segments #1

@rolandomunoz

Description

@rolandomunoz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions