formant.getPointIndexNearestTime {rPraat}R Documentation

formant.getPointIndexNearestTime

Description

Returns index of frame which is nearest the given time (from both sides).

Usage

formant.getPointIndexNearestTime(formant, time)

Arguments

formant

Formant object

time

time which is going to be found in frames

Value

integer

See Also

formant.getPointIndexLowerThanTime, formant.getPointIndexHigherThanTime

Examples

formant <- formant.sample()
formant.getPointIndexNearestTime(formant, 0.5)

[Package rPraat version 1.3.2-1 Index]