On 03/29/2016 09:17 PM, Alexandre Torres Porres wrote: > sure, had to work on it ;) > > this is based on pddp/dsp for a series of help patches that will be on/off > according to dsp state
unfortunately, this doesn't work reliably. e.g. if this is loaded in a patch containing [block~ 8192] it will detect audio as OFF. i find that the attached version works more reliable, though it will also take some time to fetch the DSP state (rather than being able to report it *now*) gfamdsr IOhannes
#N canvas 724 330 450 300 10; #N canvas 539 239 450 300 check 0; #X obj 59 20 bang~; #X msg 59 53 1; #X obj 59 105 t f; #X obj 144 63 r pd; #X obj 144 84 route dsp; #X obj 59 149 outlet; #X obj 59 127 change -1; #X obj 59 80 change -1; #X connect 0 0 1 0; #X connect 1 0 7 0; #X connect 2 0 6 0; #X connect 3 0 4 0; #X connect 4 0 2 0; #X connect 6 0 5 0; #X connect 7 0 2 0; #X restore 56 54 pd check dsp; #X obj 106 139 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 240 64 dsp_check; #X connect 0 0 1 0; #X coords 0 -1 1 1 85 60 1 100 100;
signature.asc
Description: OpenPGP digital signature
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
