# P4 on Raspberry Pi500 Sound Library

**URL:** <https://discourse.processing.org/t/p4-on-raspberry-pi500-sound-library/48429>\
**Category:** Processing for Pi\
**Created:** [April 13, 2026, 6:46pm UTC](https://discourse.processing.org/t/p4-on-raspberry-pi500-sound-library/48429 "2026-04-13T18:46:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![walterwright](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/walterwright/32/69_2.png) [@walterwright](https://discourse.processing.org/u/walterwright)\
**Post date:** [April 13, 2026, 6:46pm UTC](https://discourse.processing.org/t/p4-on-raspberry-pi500-sound-library/48429/1 "2026-04-13T18:46:06Z")

</div>

```processing
//================================================
// Sound Check
//
import processing.sound.*;
SoundFile A;
void setup(){
  size(100,100);
  A = new SoundFile(this,"snd01.wav"); A.play();}
void draw (){noLoop();}

```

Produces this error -  
Sound library warning: Did not find any sound devices with input channels, you won’t be able to use the AudioIn class

---

<div class="post-metadata">

**Author:** ![robertesler](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@robertesler](https://discourse.processing.org/u/robertesler)\
**Post date:** [April 13, 2026, 10:38pm UTC](https://discourse.processing.org/t/p4-on-raspberry-pi500-sound-library/48429/2 "2026-04-13T22:38:25Z")

</div>

Hi @walterwright,

The RPi500 does not have any built-in analog audio capabilities. You would have to use USB or Bluetooth to receive both audio input and output. If your monitor supports audio, the RPi may playback audio through the monitor’s speaker. That error indicates that there is no microphone detected. However, the soundfile should still play if you have an output device attached.

---

<div class="post-metadata">

**Author:** ![walterwright](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/walterwright/32/69_2.png) [@walterwright](https://discourse.processing.org/u/walterwright)\
**Post date:** [April 14, 2026, 1:11am UTC](https://discourse.processing.org/t/p4-on-raspberry-pi500-sound-library/48429/3 "2026-04-14T01:11:58Z")

</div>

I have a monitor attached. Audio playback from the browser & VLM work well. But not from Processing ???

Note: it has worked in the past but not since updating (using Snap).

Thanks for your quick response 8^)))

Best

- Walter

Someone mentioned you in a post.

> ![](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/45.png "robertesler") | [robertesler](https://discourse.processing.org/u/robertesler)  
> April 13 |
> 
> - | - |

Hi [@walterwright](https://discourse.processing.org/u/walterwright),

The RPi500 does not have any built-in analog audio capabilities. You would have to use USB or Bluetooth to receive both audio input and output. If your monitor supports audio, the RPi may playback audio through the monitor’s speaker. That error indicates that there is no microphone detected. However, the soundfile should still play if you have an output device attached.

---

<div class="post-metadata">

**Author:** ![robertesler](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@robertesler](https://discourse.processing.org/u/robertesler)\
**Post date:** [April 14, 2026, 9:06pm UTC](https://discourse.processing.org/t/p4-on-raspberry-pi500-sound-library/48429/4 "2026-04-14T21:06:48Z")

</div>

@walterwright That sounds more like a Linux issue on the RPi. You can try this line of code:

```auto
Sound.list();

```

And see which audio devices are listed. If the one that works with your browser is there, check the number in the list and you can try:

```auto
Sound s = new Sound(this);
s.outputDevice(0); //or whatever # your device is

```

The Processing IDE doesn’t have any way to deal with audio, so you have to do this manually in your sketches quite often.  
If that doesn’t work, then it could be a much deeper Linux audio configuration issue.
