tg.getIntervalIndexAtTime {rPraat}R Documentation

tg.getIntervalIndexAtTime

Description

Returns index of interval which includes the given time, i.e. tStart <= time < tEnd. Tier index must belong to interval tier.

Usage

tg.getIntervalIndexAtTime(tg, tierInd, time)

Arguments

tg

TextGrid object

tierInd

tier index or "name"

time

time which is going to be found in intervals

Value

integer

See Also

tg.getIntervalStartTime, tg.getIntervalEndTime, tg.getLabel, tg.findLabels

Examples

tg <- tg.sample()
tg.getIntervalIndexAtTime(tg, "word", 0.5)

[Package rPraat version 1.3.2-1 Index]