Hi y'all
Maybe this is something I missed in documentation, but how is one meant to tell if a signal inlet is connected or not when you get the dsp method call? I'm experiencing some artifacts in an external that otherwise works quite well, if I have gaps in its set of input signals (6 of them in this instance) actually connected.
I have read the signal processing chain setup code in the past, but I haven't retained very much from that read. Is there something easy that I have missed?
d
On 12/14/22 12:48, David Rush wrote:
Maybe this is something I missed in documentation, but how is one meant to tell if a signal inlet is connected or no
you don't. why would you want to do that? (as in: most likely you are breaking user expectation by trying to do something too clever)
amds IOhannes
Most likely the trouble is that some output signal is rereusing the array of an input signal and you're overwriting the input by writing to the output before you've read all the inputs for that sample. (That's a frequently occurring problem!) You can find out by printing out the addresses of the inputs and outputs. cheers Miller On Wed, Dec 14, 2022 at 05:43:49PM +0100, IOhannes m zmölnig wrote:
On 12/14/22 12:48, David Rush wrote:
Maybe this is something I missed in documentation, but how is one meant to tell if a signal inlet is connected or no
you don't. why would you want to do that? (as in: most likely you are breaking user expectation by trying to do something too clever)
amds IOhannes
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Cyclone does that by a dependency called 'magic', developed by Matt Barber. ELSE also uses it for doing clever and fancy stuff.
I would like that the API could provide us this magic. It's useful sometimes.
Em qua., 14 de dez. de 2022 às 13:44, IOhannes m zmölnig zmoelnig@iem.at escreveu:
On 12/14/22 12:48, David Rush wrote:
Maybe this is something I missed in documentation, but how is one meant
to
tell if a signal inlet is connected or no
you don't. why would you want to do that? (as in: most likely you are breaking user expectation by trying to do something too clever)
amds IOhannes _______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev