[PD-dev] [ pure-data-Bugs-2724318 ] 'pd -alsa -send "; pd dsp 1"' fails with -nogui

SourceForge.net noreply at sourceforge.net
Thu Apr 2 16:22:05 CEST 2009


Bugs item #2724318, was opened at 2009-04-01 04:23
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2724318&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ClaudiusMaximus (claudiusmaximus)
Assigned to: Miller Puckette (millerpuckette)
Summary: 'pd -alsa -send "; pd dsp 1"' fails with -nogui

Initial Comment:
$ pd -alsa -send "; pd dsp 1"
works fine

$ pd -alsa -nogui -send "; pd dsp 1"
snd_pcm_open (output): Device or resource busy

if i send to a custom receiver and delay the message by 100ms it seems to work ok, but still, not perfect

at a guess there's a race condition somewhere, and using the gui slows it down enough to work?  just a guess though

tested on GNU/Linux/Debian/Lenny/pure:dyne with pd-0.41
may also affect other sound APIs, but I haven't tested with anything other than ALSA


----------------------------------------------------------------------

>Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2009-04-02 16:22

Message:
oh forgot to say:
OSS:
 /dev/dsp (writeonly): Device or resource busy
 /dev/dsp (readonly): Device or resource busy

with jack it seems to work fine (though i often have other problems with
jack, so i don't know how reliable this is)


----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2009-04-02 16:20

Message:
confirmed with Pd-0.42.4 (debian lenny/squeeze; x86)

however i thought the proper way to specify the send-message was "pd dsp
1" (without the leading semicolon)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2724318&group_id=55736




More information about the Pd-dev mailing list