# How to return usb soundcard channels/inputs

**URL:** <https://discourse.processing.org/t/how-to-return-usb-soundcard-channels-inputs/43038>\
**Category:** Libraries\
**Created:** [October 23, 2023, 5:44pm UTC](https://discourse.processing.org/t/how-to-return-usb-soundcard-channels-inputs/43038 "2023-10-23T17:44:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcfrsvn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mcfrsvn/32/18938_2.png) [@mcfrsvn](https://discourse.processing.org/u/mcfrsvn)\
**Post date:** [October 23, 2023, 5:44pm UTC](https://discourse.processing.org/t/how-to-return-usb-soundcard-channels-inputs/43038/1 "2023-10-23T17:44:48Z")

</div>

I work on an audio reactive project for live, and don’t find a way to return the data from the different channels of my usb soundcard (expert-sleepers es-9 with 14 channels/inputs). Do I need to convert all my signals in midi to be more efficient ?  
Best regards  
Aurel

---

<div class="post-metadata">

**Author:** ![kevinstadler](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@kevinstadler](https://discourse.processing.org/u/kevinstadler)\
**Post date:** [October 28, 2023, 7:22pm UTC](https://discourse.processing.org/t/how-to-return-usb-soundcard-channels-inputs/43038/2 "2023-10-28T19:22:28Z")

</div>

Hello Aurel,

you will probably have to handle the `getAudioContext()` directly if you want to get access to multiple input signals, but even then I’m not sure how exactly the p5.js AudioIn deals with capturing from multi-channel devices.

If using Processing (for Java) is an option for you, the newest release of the Sound library adds support for multi-channel audio interfaces, so you could both capture from and output to all channels of your USB soundcard. You can find the library download and instructions here: [Release v2.4.0-preview · processing/processing-sound · GitHub](https://github.com/processing/processing-sound/releases/tag/v2.4.0-preview)

Best!
