# P5.sound with external soundcard input?

**URL:** <https://discourse.processing.org/t/p5-sound-with-external-soundcard-input/1558>\
**Category:** p5.js\
**Created:** [July 6, 2018, 6:36pm UTC](https://discourse.processing.org/t/p5-sound-with-external-soundcard-input/1558 "2018-07-06T18:36:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrsGolfShorts](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@MrsGolfShorts](https://discourse.processing.org/u/MrsGolfShorts)\
**Post date:** [July 6, 2018, 6:36pm UTC](https://discourse.processing.org/t/p5-sound-with-external-soundcard-input/1558/1 "2018-07-06T18:36:55Z")

</div>

Is it possible to use p5.js with an external soundcard input? The only option I see if for built-in mic input.

---

<div class="post-metadata">

**Author:** ![MrsGolfShorts](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@MrsGolfShorts](https://discourse.processing.org/u/MrsGolfShorts)\
**Post date:** [July 6, 2018, 7:20pm UTC](https://discourse.processing.org/t/p5-sound-with-external-soundcard-input/1558/2 "2018-07-06T19:20:50Z")

</div>

OK, I found this. [https://p5js.org/reference/#/p5.AudioIn/getSources](https://p5js.org/reference/#/p5.AudioIn/getSources)

Besides, it seems p5js will just select the system default audio source even it’s not a “microphone”
