You are not logged in.
Pages: 1
Hey all I am trying to use libpd to connect a puredata patch to my code written in C and running on the command line.
If you don't know what that is I am essentially trying to play audio from a C program called through the command line.
The problem is when I run the most basic sample from the git repo, nothing comes out. I might have messed up the installation process for libpd, but I have decided its much more likely that I don't have my audio set up properly.
I am using xterm-256color
When I run speaker-test the audio comes out just fine.
I use pavucontrol to check out my. The thing is when I am running this libpd program from the command line it doesn't show up. Also when I run the gui pure data program I can get audio but it doesn't show up on pavucontrol either(but I do hear sound from gui)
Is there some way to check on all processes trying to play sound?
Also how do I check through what output my terminal is trying to play from by default?
Last edited by docFarto (2023-02-18 18:05:10)
Offline
sudo fuser -v /dev/snd/*will show all processes using audio devices, generally if you use a sound server like pulse/pipewire then that should be the only program visible there. From the sources of that library it should have a pulse backend that would make it appear in pavucontrol. Can you control the API lipd uses for output? If it uses ALSA by default you'd want pulseaudio-alsa or pipewire-alsa respectively
Online
Pages: 1