- Home /
Question by
OscarvanLeest · Mar 28, 2018 at 10:25 AM ·
audioaudiosourceaudioclipmicrophone
Is it possible to select channels for the microphone input?
I'm getting multi-channel input from the a virtual device and I'm sending it as microphone input to Unity, but when I send that input out it seems to automatically select the first channel. The thing I'm trying to do is have multiple audio sources that all play a different channel from the microphone input.
This is the code I'm using:
void Start () {
AudioSource audio = GetComponent<AudioSource>();
audio.clip = Microphone.Start("Soundflower (2ch)", true, 10, 44100);
audio.loop = true;
audio.Play();
// audio.GetOutputData ();
// audio.outputAudioMixerGroup ();
}
void Update () {
}
}
Comment
Your answer
Follow this Question
Related Questions
Multiple Microphone Inputs 0 Answers
Microphone capture different channels 0 Answers
How to record audio in chunks and send through websocket? 0 Answers
Playing many audioclips with PlayOneShot causes all sound to cut out. 0 Answers
Truncate audio runtime 0 Answers