// Use this for initialization void Start() { microphone = GetComponent <MicDecode>(); microphone.StartRecording(); StartCoroutine(TestEveryBeat()); }