tg.getIntervalDuration {rPraat} | R Documentation |
tg.getIntervalDuration
Description
Return duration (i.e., end - start time) of interval in interval tier.
Usage
tg.getIntervalDuration(tg, tierInd, index)
Arguments
tg |
TextGrid object |
tierInd |
tier index or "name" |
index |
index of interval |
Value
numeric
See Also
tg.getIntervalStartTime
, tg.getIntervalEndTime
, tg.getIntervalIndexAtTime
, tg.findLabels
Examples
tg <- tg.sample()
tg.getIntervalDuration(tg, "phone", 5)
[Package rPraat version 1.3.2-1 Index]