<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 09/11/2012 13:45, contact a écrit :<br>
</div>
<blockquote cite="mid:509CFB03.1020302@billard-francois-marie.eu"
type="cite">Yes it's a hack , but i think the best way for this
problem would be :
<br>
<br>
on load detect if the dsp is off
<br>
<br>
an after turn on the dsp
<br>
<br>
But how can i detect dsp off in a patch ?
<br>
<br>
François-Marie
<br>
<br>
Le 09/11/2012 13:02, Jamie Bullock a écrit :
<br>
<blockquote type="cite">
<br>
<br>
<br>
On 9 Nov 2012, at 09:21,
contact<a class="moz-txt-link-rfc2396E" href="mailto:contact@billard-francois-marie.eu"><contact@billard-francois-marie.eu></a> wrote:
<br>
<br>
<blockquote type="cite">With the delay betwen the loadbang and
pd dsp 1 it's ok,
<br>
<br>
</blockquote>
<br>
This seems like a hack. Why 1000ms? Can we guarantee the DSP
will be ready in 1second? Does it ever take longer?
<br>
<br>
I think it would be a lot better to have a way to query when Pd
is ready to process |pd dsp 1(
<br>
<br>
It might be possible to do this with the [audiosettings]
external, if not, it would definitely be a useful addition.
<br>
<br>
best,
<br>
<br>
Jamie
<br>
<br>
<br>
<br>
<br>
<blockquote type="cite">thank's.
<br>
<br>
François-Marie BILLARD
<br>
<br>
Le 09/11/2012 02:22, James Dunn a écrit :
<br>
<blockquote type="cite">
<br>
Are you turning on dsp with a loadbang like this ?
<br>
<br>
[loadbang]
<br>
|
<br>
[; pd dsp 1(
<br>
<br>
If so, try adding a delay after the loadbang:
<br>
<br>
[loadbang]
<br>
|
<br>
[delay 1000]
<br>
|
<br>
[; pd dsp 1(
<br>
<br>
James
<br>
<br>
<br>
Quoth contact, on 08/11/2012 15:53:
<br>
<blockquote type="cite">Hello
<br>
I'm new on this list and have any problem with pd in
command line.
<br>
<br>
When i try this command under linux
<br>
<br>
pd-extended -nogui -alsa -audiodev 1 ./test.pd
<br>
<br>
I haven't any sound and this message
<br>
<br>
<blockquote type="cite">snd_pcm_open (input): Device or
resource busy
<br>
snd_pcm_open (output): Device or resource busy
<br>
</blockquote>
<br>
and when I try this one
<br>
<br>
pd-extended -alsa -audiodev 1 ./test.pd
<br>
<br>
the sound is ok.
<br>
<br>
Thank's for your help
<br>
<br>
François-Marie BILLARD
<br>
<br>
<br>
_______________________________________________
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
<br>
UNSUBSCRIBE and account-management ->
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
<br>
</blockquote>
<br>
</blockquote>
<br>
<contact.vcf>_______________________________________________
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
<br>
UNSUBSCRIBE and account-management ->
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<br>
Hello,<br>
<br>
Have a look at the patch attached.<br>
++<br>
<br>
Jack<br>
<br>
<br>
</body>
</html>