// Utilities:

    public void MissNote(float okayDistance)
    {
        if (!playerMissed && !playerHit)
        {
            ++numMissed;
            StartCoroutine(HitchLib.Tweening.GenericTween(c => { border.color = c; }, border.color,
                                                          missBorder, 0.1f, HitchLib.Easing.EASE_LINEAR));
        }
        playerMissed = true;
        GlobalSingleton.Hurt();
        if (Mathf.Abs(beat) < okayDistance)
        {
            Popup(wrongNote);
        }
        else if (beat < 0)
        {
            Popup(tooEarly);
        }
        else
        {
            Popup(tooLate);
        }
    }