// Update is called once per frame
    void Update()
    {
        var rot = scalePointer.transform.localEulerAngles;

        rot.y = -transform.eulerAngles.z;
        scalePointer.transform.localEulerAngles = rot;

        if (sequencer != null)
        {
            angularVelZ = Controller.angularVelocity.z * speed;
            float sum    = sequencer.tempo + angularVelZ + leftover;
            int   result = Mathf.RoundToInt(sum);
            leftover        = sum - result;
            sequencer.tempo = Mathf.Max(min, Mathf.Min(max, result));
            sequencer.GetComponent <PhotonView>().RPC("UpdateTempo", PhotonTargets.Others, sequencer.tempo);
        }
    }