# Multiples live\_audio

**URL:** <https://in-thread.sonic-pi.net/t/multiples-live-audio/4103>\
**Category:** Support, Help & Resources\
**Created:** [June 22, 2020, 1:06pm UTC](https://in-thread.sonic-pi.net/t/multiples-live-audio/4103 "2020-06-22T13:06:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![carloseduardo](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/carloseduardo/32/1509_2.png) [@carloseduardo](https://in-thread.sonic-pi.net/u/carloseduardo)\
**Post date:** [June 22, 2020, 1:06pm UTC](https://in-thread.sonic-pi.net/t/multiples-live-audio/4103/1 "2020-06-22T13:06:45Z")

</div>

Hello, I have an 8-channel sound card called umc404hd\_192k.

And when I try to do this:

live\_audio: umc404hd\_192k, stereo: true, input: 1  
live\_audio: umc404hd\_192k, stereo: true, input: 2

Channel 2 is disabled, only one channel works at a time in sonic pi.

Any idea?

Taking into account if I use **live\_audio: foo** is going to capture my notebook’s microphone, I need to inform you that umc404hd\_192k, is my sound card, correct?

How does it work?

---

<div class="post-metadata">

**Author:** ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)\
**Post date:** [June 22, 2020, 1:12pm UTC](https://in-thread.sonic-pi.net/t/multiples-live-audio/4103/2 "2020-06-22T13:12:54Z")

</div>

Hi @carloseduardo 🙂 Have you checked the documentation in the Lang section of the help in the app for `live_audio`?

---

<div class="post-metadata">

**Author:** ![carloseduardo](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/carloseduardo/32/1509_2.png) [@carloseduardo](https://in-thread.sonic-pi.net/u/carloseduardo)\
**Post date:** [June 22, 2020, 1:31pm UTC](https://in-thread.sonic-pi.net/t/multiples-live-audio/4103/3 "2020-06-22T13:31:32Z")

</div>

Yes, I read,

but what I didn’t understand is, do I need to specify the name of my sound card?

If so, why is one entry stopping the other entry?

Sorry for the question,

---

<div class="post-metadata">

**Author:** ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)\
**Post date:** [June 22, 2020, 2:00pm UTC](https://in-thread.sonic-pi.net/t/multiples-live-audio/4103/4 "2020-06-22T14:00:39Z")

</div>

Sure, no problem.

> [@carloseduardo](#):
>
> do I need to specify the name of my sound card?

No. As far as I understand it, Sonic Pi receive input from the default sound card that is active when it starts up.

> [@carloseduardo](#):
>
> why is one entry stopping the other entry?

So, one key thing to keep in mind is that as the documentation says:

> only one live\_audio synth of a given name may exist in the system at any one time

and also, what else may be helpful is looking at example 3 there:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/sonic_pi/original/2X/0/0020745f0fcb3fa4e811a464b346b5a56bafc582.png)  
When you specify `stereo: true`, the two channels are set to whatever is set for `input`, plus the next channel along. So in that example, audio is played from inputs 3 and 4.

Is that any clearer? 🙂

---

<div class="post-metadata">

**Author:** ![siimphh](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/siimphh/32/1851_2.png) [@siimphh](https://in-thread.sonic-pi.net/u/siimphh)\
**Post date:** [June 22, 2020, 8:52pm UTC](https://in-thread.sonic-pi.net/t/multiples-live-audio/4103/6 "2020-06-22T20:52:21Z")

</div>

I’m not sure about Windows or Mac, but on Linux Sonic Pi will only use a single sound card at a time - you have to make sure it starts up using the correct one. So I’d suggest you look into how to make Sonic Pi use your 8-port card on your operating system.

If you tell us what your operating system is, someone might be able to tell you how to do that. But it’s probably documented, too.

---

<div class="post-metadata">

**Author:** ![ninn](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/ninn/32/945_2.png) [@ninn](https://in-thread.sonic-pi.net/u/ninn)\
**Post date:** [June 24, 2020, 5:23am UTC](https://in-thread.sonic-pi.net/t/multiples-live-audio/4103/7 "2020-06-24T05:23:31Z")

</div>

> [@carloseduardo](#):
>
> live\_audio: umc404hd\_192k, stereo: true, input: 1

‘umc404hd\_192k’ is the variable name you gave that Captured input. You chose it yourself.

Then you create another ‘umc404hd\_192k’, and by that you overwrote the first Captured inputs ‘name’. From then on, whenever you call for "‘umc404hd\_192k’"m, you would get the second input. You cant call the first “‘umc404hd\_192k’” again, because when you ask for the “‘umc404hd\_192k’” you will get the second one.

Those two variables must have different names, so you can ‘find’ them again.
