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