snd.getPointIndexLowerThanTime {rPraat}R Documentation

snd.getPointIndexLowerThanTime

Description

Returns index of sample which is nearest the given time from left, i.e. sampleTime <= time.

Usage

snd.getPointIndexLowerThanTime(snd, time)

Arguments

snd

Sound object

time

time which is going to be found in samples

Value

integer

See Also

snd.getPointIndexNearestTime, snd.getPointIndexHigherThanTime

Examples

snd <- snd.sample()
snd.getPointIndexLowerThanTime(snd, 0.5)

[Package rPraat version 1.3.2-1 Index]