P4 on Raspberry Pi500 Sound Library

//================================================
// 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

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.

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.

| robertesler
April 13 |

  • | - |

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.