Learn R Programming

rPraat (version 1.3.2-1)

formant.getPointIndexNearestTime: 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

Run this code
# NOT RUN {
formant <- formant.sample()
formant.getPointIndexNearestTime(formant, 0.5)
# }

Run the code above in your browser using DataLab