Last chance! 50% off unlimited learning
Sale ends in
Returns index of frame which is nearest the given time
(from both sides).
pitch.getPointIndexNearestTime(pitch, time)
Pitch object
time which is going to be found in frames
integer
pitch.getPointIndexLowerThanTime
, pitch.getPointIndexHigherThanTime
# NOT RUN {
pitch <- pitch.sample()
pitch.getPointIndexNearestTime(pitch, 0.5)
# }
Run the code above in your browser using DataLab