tg.getTotalDuration {rPraat} | R Documentation |
Returns total duration. If tier index is specified, it returns duration of the tier, if it is not specified, it returns total duration of the TextGrid.
tg.getTotalDuration(tg, tierInd = 0)
tg |
TextGrid object |
tierInd |
[optional] tier index or "name" |
numeric
tg.getStartTime
, tg.getEndTime
tg <- tg.sample()
tg.getTotalDuration(tg)
tg.getTotalDuration(tg, "phone")