powered by
Returns index of sample which is nearest the given time from left, i.e. sampleTime <= time.
time
snd.getPointIndexLowerThanTime(snd, time)
Sound object
time which is going to be found in samples
integer
snd.getPointIndexNearestTime, snd.getPointIndexHigherThanTime
snd.getPointIndexNearestTime
snd.getPointIndexHigherThanTime
# NOT RUN { snd <- snd.sample() snd.getPointIndexLowerThanTime(snd, 0.5) # }
Run the code above in your browser using DataLab