[PD] Pd and pulseaudio

IOhannes zmölnig zmoelnig at iem.at
Fri Feb 1 18:43:26 CET 2013


On 02/01/2013 06:29 PM, Miller Puckette wrote:
> Just to comment on why I ended up un-installing portaudio: I booted my
> Pi with a clean new Raspbian distro, compiled Pd (after installing some
> packages like git and alsa libs), ran it and found that pulseaudio was
> running.  So I exit Pd and likk pulseaudio via "pulseaudio -kill".  Then start
> Pd and find it _still_ can't open audio.  Why? ell, looking back I found that
> pulseaudio was running again!  So I re-killed it and tried a third time.
> Same result: for some reason, the mere act of starting Pd was causing
> pulseaudio to start itself up and grab the audio device so that Pd couldn't
> get it.  There are similar plot sequences in old Three Stooges and Marx
> Brothers movies, but I wasn't exactly laughing.  What if I were about to
> have to walk on stage with this thing?  So I googled around and read through
> the many-page man page for pulseaudio and found no explanation of why this
> was happening, nor any suggestions for how to disable pulseaudio other than
> the "-kill" command I had already tried.  After a while I lost patience and
> uninstalled pulse and I suggest that everyone else do so as well.
>


since i was just playing around with pulseaudio recently, here some hints:

- in /etc/pulse/client.conf, you can set "autospawn = no" to prevent 
pulseaudio from starting again and again.

- you can run pulseaudio on top of jack, which means that those 
applications that want to use pulseaudio can use it, but others are not 
effected. (i recently decided to make this my default configuration on 
desktop machines: it allows me to watch vimeo and at the same time 
fuddle with Pd :-))

fgamsdr
IOhannes



More information about the Pd-list mailing list