|
@@ -97,7 +97,8 @@ export class VoicePlaybackData {
|
|
|
maxEntryTimestamp.Add(entry.playbackEntry.Notes[0].Length);
|
|
|
if (entry.enrolledTimestamp.lt(enrolledTimestamp)) {
|
|
|
if (!this.rules.PlayAlreadyStartedNotesFromCursorPosition) {
|
|
|
- if (Math.abs(entry.enrolledTimestamp.RealValue - enrolledTimestamp.RealValue) > 0.01) {
|
|
|
+ const safetyInterval: number = this.rules.PlaybackSkipNotesSafetyInterval; // usually 0.02
|
|
|
+ if (Math.abs(entry.enrolledTimestamp.RealValue - enrolledTimestamp.RealValue) > safetyInterval) {
|
|
|
continue; // don't play notes that started before current cursor position
|
|
|
// note that we'd ideally check entry < enrolled, but enrolled is imprecise,
|
|
|
// so e.g. if you start at a timestamp 5.5, enrolled will be ~5.5019
|