Learn R Programming

rPraat (version 1.3.2-1)

snd.getPointIndexHigherThanTime: snd.getPointIndexHigherThanTime

Description

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

Usage

snd.getPointIndexHigherThanTime(snd, time)

Arguments

snd

Sound object

time

time which is going to be found in samples

Value

integer

See Also

snd.getPointIndexNearestTime, snd.getPointIndexLowerThanTime

Examples

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

Run the code above in your browser using DataLab