Hello! For various reasons I’m attempting to compile Pd on a headless raspberry 
pi 3 running Debian 11 (“bullseye”) (with no desktop environment). 

It compiles just fine, and I can open a patch, but when I run Pd it can not 
find any audio or midi devices. I believe this is because of the settings when 
I compile. I get the following messages if I run a patch:
error: audio input device number (0) out of range
error: audio output device number (0) out of range


If I ask for the list of devices using “-listdev” it says:

no audio input devices found
no audio output devices found
API number 4
no MIDI input devices found
no MIDI output devices found

When I configure the build, it gives me the following information: 
    fftw:                 no
    wish(tcl/tk):         wish
    watchdog:             yes
    audio APIs:           PortAudio OSS 
    midi APIs:            OSS 
    libpd:                no

In the build instructions it describes OSS as a "historical precursor to ALSA, 
generally not used”. So I imagine that it is best avoided.

One final clue - if I install Pd using apt-get, the audio works fine. However 
this is an older build (0.51.4) and I would like to use some of the new objects 
in the newer releases of Pd. I assume that this older build was compiled for 
alsa.

Assuming that this is the root of my issue (a big assumption), I can’t seem to 
find a way in the build settings to use alsa instead when I compile. Is there 
any way to set that up?

Otherwise, if I am misunderstanding the problem more generally I apologise and 
would gratefully taken any other suggestions.

Thanks!

Yann
---
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/KXY32LGRBLNJ6LJ4FSKXHNPPO475A7JO/

To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/

Reply via email to