Goodbye tidalwav we hardly knew ye (+ BTSDS piano reacts to song pitch)

This commit is contained in:
Jenny Crowe 2022-03-07 05:54:36 -07:00
parent 1d564b4910
commit f7838d1da2
3 changed files with 1 additions and 9 deletions

View file

@ -187,7 +187,7 @@ namespace RhythmHeavenMania.Games.BuiltToScaleDS
public void PlayPiano(float beat, float length, int semiTones) 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); var pianoSource = Jukebox.PlayOneShotGame("builtToScaleDS/Piano", -1, pianoPitch, 0.8f, true);
BeatAction.New(gameObject, new List<BeatAction.Action>() BeatAction.New(gameObject, new List<BeatAction.Action>()

View file

@ -12,7 +12,6 @@
"com.unity.timeline": "1.4.8", "com.unity.timeline": "1.4.8",
"com.unity.ugui": "1.0.0", "com.unity.ugui": "1.0.0",
"jillejr.newtonsoft.json-for-unity.converters": "1.3.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.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0", "com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0", "com.unity.modules.animation": "1.0.0",

View file

@ -158,13 +158,6 @@
"dependencies": {}, "dependencies": {},
"url": "https://npm.cloudsmith.io/jillejr/newtonsoft-json-for-unity" "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": { "com.unity.modules.ai": {
"version": "1.0.0", "version": "1.0.0",
"depth": 0, "depth": 0,