From f7838d1da28c989d853df5acdf28999c0f8507f1 Mon Sep 17 00:00:00 2001 From: Jenny Crowe Date: Mon, 7 Mar 2022 05:54:36 -0700 Subject: [PATCH] Goodbye tidalwav we hardly knew ye (+ BTSDS piano reacts to song pitch) --- Assets/Scripts/Games/BuiltToScaleDS/BuiltToScaleDS.cs | 2 +- Packages/manifest.json | 1 - Packages/packages-lock.json | 7 ------- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/Assets/Scripts/Games/BuiltToScaleDS/BuiltToScaleDS.cs b/Assets/Scripts/Games/BuiltToScaleDS/BuiltToScaleDS.cs index f3719ec3..d3ac7540 100644 --- a/Assets/Scripts/Games/BuiltToScaleDS/BuiltToScaleDS.cs +++ b/Assets/Scripts/Games/BuiltToScaleDS/BuiltToScaleDS.cs @@ -187,7 +187,7 @@ namespace RhythmHeavenMania.Games.BuiltToScaleDS public void PlayPiano(float beat, float length, int semiTones) { - var pianoPitch = Mathf.Pow(2f, (1f / 12f) * semiTones); + var pianoPitch = Mathf.Pow(2f, (1f / 12f) * semiTones) *Conductor.instance.musicSource.pitch; var pianoSource = Jukebox.PlayOneShotGame("builtToScaleDS/Piano", -1, pianoPitch, 0.8f, true); BeatAction.New(gameObject, new List() diff --git a/Packages/manifest.json b/Packages/manifest.json index e1279529..0f8d0ccf 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -12,7 +12,6 @@ "com.unity.timeline": "1.4.8", "com.unity.ugui": "1.0.0", "jillejr.newtonsoft.json-for-unity.converters": "1.3.0", - "net.skaillz.tidalwav": "https://github.com/SkaillZ/tidalwav.git", "com.unity.modules.ai": "1.0.0", "com.unity.modules.androidjni": "1.0.0", "com.unity.modules.animation": "1.0.0", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index 121c22bb..f01b24b9 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -158,13 +158,6 @@ "dependencies": {}, "url": "https://npm.cloudsmith.io/jillejr/newtonsoft-json-for-unity" }, - "net.skaillz.tidalwav": { - "version": "https://github.com/SkaillZ/tidalwav.git", - "depth": 0, - "source": "git", - "dependencies": {}, - "hash": "0061c1c04e04f024c1649cf4c1d6b3400c188948" - }, "com.unity.modules.ai": { "version": "1.0.0", "depth": 0,