void Start() { BeatDetector processor = FindObjectOfType <BeatDetector> (); processor.AddAudioCallback(this); }