tg.getIntervalIndexAtTime: tg.getIntervalIndexAtTime

Description Usage Arguments Value See Also Examples

View source: R/tg.R

Description

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

Usage

1

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

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

rPraat documentation built on Dec. 9, 2018, 1:04 a.m.