François-Marie BILLARD
Le 09/11/2012 15:09, contact a écrit :
Le 09/11/2012 14:50, Jack a écrit :Le 09/11/2012 13:45, contact a écrit :Yes it's a hack , but i think the best way for this problem would be : on load detect if the dsp is off an after turn on the dsp But how can i detect dsp off in a patch ? François-Marie Le 09/11/2012 13:02, Jamie Bullock a écrit :On 9 Nov 2012, at 09:21, contact<[email protected]> wrote:With the delay betwen the loadbang and pd dsp 1 it's ok,This seems like a hack. Why 1000ms? Can we guarantee the DSP will be ready in 1second? Does it ever take longer? I think it would be a lot better to have a way to query when Pd is ready to process |pd dsp 1( It might be possible to do this with the [audiosettings] external, if not, it would definitely be a useful addition. best, Jamiethank's. François-Marie BILLARD Le 09/11/2012 02:22, James Dunn a écrit :Are you turning on dsp with a loadbang like this ? [loadbang] | [; pd dsp 1( If so, try adding a delay after the loadbang: [loadbang] | [delay 1000] | [; pd dsp 1( James Quoth contact, on 08/11/2012 15:53:Hello I'm new on this list and have any problem with pd in command line. When i try this command under linux pd-extended -nogui -alsa -audiodev 1 ./test.pd I haven't any sound and this messagesnd_pcm_open (input): Device or resource busy snd_pcm_open (output): Device or resource busyand when I try this one pd-extended -alsa -audiodev 1 ./test.pd the sound is ok. Thank's for your help François-Marie BILLARD _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list<contact.vcf>_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-listHello, Have a look at the patch attached. ++ Jack _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-listThank's for the patch, when i put a loadbang in place of the bang in the pacth, the dsp don't turn on with the -nogui option. But in fact i think the dsp cannot be turn on with a loadbang when the command line option -nogui option is selected because pure-data must wait for detecting soudncard or anythong else before turn on the dsp. François-Marie _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
#N canvas 749 239 450 360 10; #X obj 31 85 r pd; #X obj 31 107 route dsp; #X obj 31 129 v dsp_on_off; #X msg 233 156 \; pd dsp 1; #X msg 31 28 \; pd dsp 0; #X obj 234 101 v dsp_on_off; #X obj 312 156 print; #X obj 288 136 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X text 157 35 <- 1; #X text 281 83 <- 2; #X obj 231 21 metro 100; #X obj 231 -14 loadbang; #X obj 231 62 spigot; #X msg 307 25 1; #X msg 326 55 0; #X obj 156 45 osc~ 440; #X obj 161 137 dac~; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 5 0 7 0; #X connect 5 0 3 0; #X connect 5 0 14 0; #X connect 7 0 6 0; #X connect 10 0 12 0; #X connect 11 0 10 0; #X connect 11 0 13 0; #X connect 12 0 5 0; #X connect 13 0 12 1; #X connect 14 0 12 1; #X connect 15 0 16 0;
<<attachment: contact.vcf>>
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
