void Update()
    {
        if (Input.GetKeyDown(KeyCode.Space))
        {
            NextSong();
        }

        if (Input.GetKey(KeyCode.Escape))
        {
            Application.Quit();
        }

        if (!rhythmTool.songLoaded)
        {
            return;
        }

        UpdateLines();

        bpmText.text = rhythmTool.bpm.ToString();

        rhythmTool.DrawDebugLines();
    }
 void Update()
 {
     rhythmTool.DrawDebugLines();
 }