hi list.
i've just encountered a problem about receiving~ from a send~ located in a subpatch which is switch~ed off. after switch~ing off, the [receive~] repeats the last 64 samples it got, over and over again, resulting in an annoying squeal. [throw~] and [catch~] do not behave this way. browsing the archive, i found that david mccallum already reported this behaviour in 2003, with pd 0.36, but unfortunately he did not get any responses.
http://lists.puredata.info/pipermail/pd-list/2003-06/012334.html
so i'll give it a second try, this time in 2005 with pd-0.38-4.
i know, i could put a [line~] in front of the [send~] in order to fade out the volume before switch~ing off, but imho, that's just a workaround, not a fix. an example is attatched.
thanks in advance charlie
#N canvas 0 0 709 300 10; #N canvas 0 0 450 300 send~ 0; #X obj 173 34 osc~ 123; #X obj 174 122 send~ a; #X obj 325 35 inlet; #X obj 325 92 switch~; #X connect 0 0 1 0; #X connect 2 0 3 0; #X restore 48 96 pd send~; #X obj 48 65 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 47 137 receive~ a; #X obj 47 258 dac~; #X obj 168 68 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 168 260 dac~; #N canvas 0 0 450 300 throw~ 0; #X obj 173 34 osc~ 123; #X obj 325 35 inlet; #X obj 325 92 switch~; #X obj 174 122 throw~ a; #X connect 0 0 3 0; #X connect 1 0 2 0; #X restore 168 99 pd throw~; #X obj 167 140 catch~ a; #X obj 48 203 *~; #X obj 64 182 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 0.3 ; #X obj 168 202 *~; #X obj 184 181 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 0.3; #X text 250 192 1 turn on the volume; #X text 248 72 2 then use the toggles to switch the send~/throw~ on and off; #X connect 1 0 0 0; #X connect 2 0 8 0; #X connect 4 0 6 0; #X connect 7 0 10 0; #X connect 8 0 3 0; #X connect 9 0 8 1; #X connect 10 0 5 0; #X connect 11 0 10 1;
Hallo!
i've just encountered a problem about receiving~ from a send~ located in a subpatch which is switch~ed off. after switch~ing off, the [receive~] repeats the last 64 samples it got, over and over again, resulting in an annoying squeal. [throw~] and [catch~] do not behave this way. browsing the archive, i found that david mccallum already reported this behaviour in 2003, with pd 0.36, but unfortunately he did not get any responses.
http://lists.puredata.info/pipermail/pd-list/2003-06/012334.html
I just experienced the same bug yesterday ... :)
LG Georg
This is a longstanding problem... the only thing I can suggest as a workaround is to multiply the output of corresponding receive~ objects by 1 if the switch os on, or zero if off.
Of course, if you want to avoid clicks you should probably have ramped the signal to send~ down to zero before switch~-ing off. If you do this, there won't be a problem.
cheers Miller
On Tue, Jun 14, 2005 at 02:46:00PM +0000, Christopher Charles wrote:
hi list.
i've just encountered a problem about receiving~ from a send~ located in a subpatch which is switch~ed off. after switch~ing off, the [receive~] repeats the last 64 samples it got, over and over again, resulting in an annoying squeal. [throw~] and [catch~] do not behave this way. browsing the archive, i found that david mccallum already reported this behaviour in 2003, with pd 0.36, but unfortunately he did not get any responses.
http://lists.puredata.info/pipermail/pd-list/2003-06/012334.html
so i'll give it a second try, this time in 2005 with pd-0.38-4.
i know, i could put a [line~] in front of the [send~] in order to fade out the volume before switch~ing off, but imho, that's just a workaround, not a fix. an example is attatched.
thanks in advance charlie
#N canvas 0 0 709 300 10; #N canvas 0 0 450 300 send~ 0; #X obj 173 34 osc~ 123; #X obj 174 122 send~ a; #X obj 325 35 inlet; #X obj 325 92 switch~; #X connect 0 0 1 0; #X connect 2 0 3 0; #X restore 48 96 pd send~; #X obj 48 65 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 47 137 receive~ a; #X obj 47 258 dac~; #X obj 168 68 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 168 260 dac~; #N canvas 0 0 450 300 throw~ 0; #X obj 173 34 osc~ 123; #X obj 325 35 inlet; #X obj 325 92 switch~; #X obj 174 122 throw~ a; #X connect 0 0 3 0; #X connect 1 0 2 0; #X restore 168 99 pd throw~; #X obj 167 140 catch~ a; #X obj 48 203 *~; #X obj 64 182 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 0.3 ; #X obj 168 202 *~; #X obj 184 181 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 0.3; #X text 250 192 1 turn on the volume; #X text 248 72 2 then use the toggles to switch the send~/throw~ on and off; #X connect 1 0 0 0; #X connect 2 0 8 0; #X connect 4 0 6 0; #X connect 7 0 10 0; #X connect 8 0 3 0; #X connect 9 0 8 1; #X connect 10 0 5 0; #X connect 11 0 10 1;
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list