Learn R Programming

rPraat (version 1.3.2-1)

snd.getPointIndexLowerThanTime: 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

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

Run the code above in your browser using DataLab