From 17967a2a3b818e2fbc22ae6e8db4edcf4966bdca Mon Sep 17 00:00:00 2001 From: minenice55 Date: Sun, 7 Apr 2024 22:02:55 -0400 Subject: [PATCH] offset fix (#836) --- Assets/Scripts/Conductor.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Assets/Scripts/Conductor.cs b/Assets/Scripts/Conductor.cs index e61e60df..f2c6445d 100644 --- a/Assets/Scripts/Conductor.cs +++ b/Assets/Scripts/Conductor.cs @@ -96,7 +96,7 @@ namespace HeavenStudio private float timelineVolume = 1f; private float minigameVolume = 1f; - const bool doPitchResync = true; + const bool doPitchResync = false; public void SetTimelinePitch(float pitch, bool resync = false) { @@ -234,7 +234,6 @@ namespace HeavenStudio _metronomeTally = 0; startTime = DateTime.Now; - absTime = 0; absTimeAdjust = 0; deferTimeKeeping = musicSource.clip != null; @@ -253,7 +252,6 @@ namespace HeavenStudio deferTimeKeeping = false; // Debug.Log($"dsptime: {dsp}, deferred timekeeping for {DateTime.Now - startTime} seconds (delta dsp {dsp - dspStart})"); startTime = DateTime.Now; - absTime = 0; absTimeAdjust = 0; dspStart = dsp; }