void Start()
        {
            fftPitchDetector = GetComponent <FFTPitchDetector>();
            //vowelFinder = GetComponent<VowelFinder>();
            halfCameraHeight = this.GetComponent <Camera>().orthographicSize;
            halfCameraWidth  = this.GetComponent <Camera>().aspect *halfCameraHeight;
            //Canvas canvas = GetComponent<Canvas>();

            //vowelText = Instantiate(Resources.Load("vowel/VowelText", typeof(Text))) as Text;
            //vowelText.transform.SetParent(transform, false);
            //vowelText.transform.position = transform.position;
        }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     formantFinder = GetComponent <FFTPitchDetector>();
 }