# Sound input name

**URL:** https://discourse.processing.org/t/sound-input-name/44862
**Category:** Libraries
**Created:** [July 30, 2024, 3:26am UTC](https://discourse.processing.org/t/sound-input-name/44862 "2024-07-30T03:26:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![larry](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@larry](https://discourse.processing.org/u/larry)
#### Post date: [July 30, 2024, 3:26am UTC](https://discourse.processing.org/t/sound-input-name/44862/1 "2024-07-30T03:26:21Z")

</div>

Is it possible to specify the sound.inputDevice by name and not by number? The order of the input devices shifts on my computer but when I try and enter a device name I get an error saying inuptDevice only accepts an integer.

Thanks

---

<div class="post-metadata">

### Author: ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)
#### Post date: [August 4, 2024, 6:10pm UTC](https://discourse.processing.org/t/sound-input-name/44862/2 "2024-08-04T18:10:38Z")

</div>

Hi @larry,

You can use this and select by your device name.

> **[list() / Libraries](https://processing.org/reference/libraries/sound/sound_list_)**
>
> Print and return information on available audio devices and their number of input/output channels. Under normal circumstances you will not want to call Sound.list() in your actual sketch code, …

Cheers  
— mnse

---

<div class="post-metadata">

### Author: ![larry](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@larry](https://discourse.processing.org/u/larry)
#### Post date: [August 6, 2024, 2:38am UTC](https://discourse.processing.org/t/sound-input-name/44862/3 "2024-08-06T02:38:22Z")

</div>

Hi Mnse

Thanks for your response.  
I’m having trouble using sound.list(filter).  
If I use sound.list(“Default Audio Device”) I get the error - the function “list()” does not expect any parameters.

Thanks  
Rhian

---

<div class="post-metadata">

### Author: ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)
#### Post date: [August 6, 2024, 5:34am UTC](https://discourse.processing.org/t/sound-input-name/44862/4 "2024-08-06T05:34:23Z")

</div>

Hi @larry,

Which version of processing and processing sound you are using?

Cheers  
— mnse
