Bugs item #2724318, was opened at 2009-03-31 23:23 Message generated for change (Comment added) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2724318...
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: https://www.google.com/accounts () Date: 2009-12-22 16:36
Message: freeverb~ is bypassed when I run pd -nogui. When I run pd in gui mode all patches work perfect, but freeverb~ does not apply any effect on the audio when I run pd -nogui.
Pd version 0.41.4 running on Mac OS X 10.5.8
Juan
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2009-11-30 14:21
Message: Confirmed on Debian/lenny/i386 running Pd-vanilla 0.41.4 and Pd-extended 0.41.4 and 0.42.5.
----------------------------------------------------------------------
Comment By: Cesar Mauri-Loba (cmauri) Date: 2009-08-24 12:21
Message: Confirmed in pd 0.42-5 under WinXP SP3. These are the error messages:
Error number -9985 opening portaudio stream Error message: Device unavailable
As a workaround I've added a delay after the loadbang that enables the dsp.
----------------------------------------------------------------------
Comment By: Dan Wilcox (danomatika) Date: 2009-06-15 07:51
Message: Again in Ubuntu Jaunty,
Running the same startup patch which loadbangs "pd dsp 1" in pd-extended 0.40.3 with "-rt" yields the same problem. I suppose in realtime mode, pd runs too fast to avoid the race condition.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2009-06-15 07:47
Message: Confirmed in pd-extended 0.41.4 on Ubuntu Jaunty.
Cannot open the soundcard when starting pd with "pd -nogui -alsa -audiodev 4 ~/StartupPatch.pd" where "StartupPatch.pd" loadbangs a "pd dsp 1" message:
snd_pcm_open (input): Device or resource busy snd_pcm_open (output): Device or resource busy
Using jack, "-jack -channels 2" connects ok. I have not not tried oss.
Doing the same on pd-extended 0.40.3 works fine.
Well, at least I can just delay the dsp switch for now to make it work.
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2009-04-02 11: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 11: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...