[PD] is inlet~ connected?

Alexandre Torres Porres porres at gmail.com
Sun Apr 4 03:38:39 CEST 2021

here's my trick

inlet~ has an inlet to set a default value when a signal is not connected,
so give it a weird and unexpected value and then check if that value is

I do that for else/out~ where it distributes the left input to both
speakers if no signal is connected to the right input. Clearly,
checking for "0" was no good.


Em sáb., 3 de abr. de 2021 às 10:29, Jeppi Jeppi <jeppiot at hotmail.com>

> Hi all,
> I came across a weird requirement and I think it is not possible...but
> maybe you have a creative workaround: is there a way to know whether an
> inlet~ is actually connected or whether an inlet~ is or not receiving audio
> data?
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210403/4bfca61d/attachment.htm>

More information about the Pd-list mailing list