using UnityEngine; public class Mouth : MonoBehaviour { void Start() { foreach (string device in Microphone.devices) { Debug.Log("Microphone.devices = " + device); } AudioSource audio = GetComponent<AudioSource>(); audio.clip = Microphone.Start(Microphone.devices[1], true, 10, 44100); } void Update() { AudioSource audio = GetComponent<AudioSource>(); float[] samples = new float[audio.clip.samples