private void KeyInput()
{
if (Input.GetKeyDown(KeyCode.A))
{
doSound = !doSound;
}
if (Input.GetKeyDown(KeyCode.Equals))
{
deviceNum++;
if (deviceNum > Microphone.devices.Length - 1)
deviceNum = 0;
CurrentAudioInput = Microphone.devices[deviceNum].ToString();
}
}