void Update() { if (Timing.GetCurrentBPM() != Mathf.CeilToInt(Song.GetCurrentSong().GetDefaultBPM() * speed)) { int updatedBPM = Mathf.CeilToInt(Song.GetCurrentSong().GetDefaultBPM() * speed); Timing.SetBPM(updatedBPM); DisplaySpeed(); } }