snd.getPointIndexNearestTime {rPraat} | R Documentation |
Returns index of sample which is nearest the given time
(from both sides).
snd.getPointIndexNearestTime(snd, time)
snd |
Sound object |
time |
time which is going to be found in samples |
integer
snd.getPointIndexLowerThanTime
, snd.getPointIndexHigherThanTime
snd <- snd.sample()
snd.getPointIndexNearestTime(snd, 0.5)