Returns a predicate that passes when the note's start beat is within epsilon beats of beat (default ε = 0.01).
epsilon
beat
Useful for selecting notes at a specific musical position without needing exact beat-tuple equality.
// Select notes that land on beat 4 (±0.01)noteIterator().approximately(4).setSpeed(2).run(chart); Copy
// Select notes that land on beat 4 (±0.01)noteIterator().approximately(4).setSpeed(2).run(chart);
Returns a predicate that passes when the note's start beat is within
epsilonbeats ofbeat(default ε = 0.01).Useful for selecting notes at a specific musical position without needing exact beat-tuple equality.