void Update()
    {
        Series(muse.Relative, muse.SignalStatus);

        if (Input.GetMouseButtonDown(0))
        {
            log.up = !log.up;
            if (log.up)
            {
                log.StartRecording();
            }
            else
            {
                log.StopRecording();
            }
        }

        if (Input.GetKeyDown(KeyCode.UpArrow))
        {
            rate += 0.1f;
        }

        if (Input.GetKeyDown(KeyCode.DownArrow))
        {
            if (rate > 1f)
            {
                rate -= 0.1f;
            }
        }

        if (Input.GetKeyDown(KeyCode.RightArrow))
        {
            div += 0.1f;
        }

        if (Input.GetKeyDown(KeyCode.LeftArrow))
        {
            if (div > 1f)
            {
                div -= 0.1f;
            }
        }

        //if(Input.GetKeyUp(KeyCode.Alpha0)) {

        //}

        if (log.up)
        {
            if (Input.anyKeyDown)
            {
                input = SessionData.Input(Input.inputString);
            }
            if (!Input.anyKey && input != "")
            {
                input = "";
            }

            data = new SessionData(Time.deltaTime, rate, div, sample, muse.Relative, muse.SignalStatus);
            log.Add(data);
        }
    }