mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-12 20:55:08 +00:00
Merge pull request #837 from RHeavenStudio/cherry-pick-release_1_patches-203f7f4c029ffffd95a8ee2af9fcce172b6c1db6
Conductor Tweaks
This commit is contained in:
commit
007426fb26
1 changed files with 1 additions and 3 deletions
|
@ -96,7 +96,7 @@ namespace HeavenStudio
|
||||||
private float timelineVolume = 1f;
|
private float timelineVolume = 1f;
|
||||||
private float minigameVolume = 1f;
|
private float minigameVolume = 1f;
|
||||||
|
|
||||||
const bool doPitchResync = true;
|
const bool doPitchResync = false;
|
||||||
|
|
||||||
public void SetTimelinePitch(float pitch, bool resync = false)
|
public void SetTimelinePitch(float pitch, bool resync = false)
|
||||||
{
|
{
|
||||||
|
@ -234,7 +234,6 @@ namespace HeavenStudio
|
||||||
_metronomeTally = 0;
|
_metronomeTally = 0;
|
||||||
|
|
||||||
startTime = DateTime.Now;
|
startTime = DateTime.Now;
|
||||||
absTime = 0;
|
|
||||||
absTimeAdjust = 0;
|
absTimeAdjust = 0;
|
||||||
deferTimeKeeping = musicSource.clip != null;
|
deferTimeKeeping = musicSource.clip != null;
|
||||||
|
|
||||||
|
@ -253,7 +252,6 @@ namespace HeavenStudio
|
||||||
deferTimeKeeping = false;
|
deferTimeKeeping = false;
|
||||||
// Debug.Log($"dsptime: {dsp}, deferred timekeeping for {DateTime.Now - startTime} seconds (delta dsp {dsp - dspStart})");
|
// Debug.Log($"dsptime: {dsp}, deferred timekeeping for {DateTime.Now - startTime} seconds (delta dsp {dsp - dspStart})");
|
||||||
startTime = DateTime.Now;
|
startTime = DateTime.Now;
|
||||||
absTime = 0;
|
|
||||||
absTimeAdjust = 0;
|
absTimeAdjust = 0;
|
||||||
dspStart = dsp;
|
dspStart = dsp;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue