Re: [PD] is inlet~ connected?

2021-04-07 Thread Matt Davey
neat trick :)
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] is inlet~ connected?

2021-04-04 Thread Jeppi Jeppi
Superb, works like a charm.
Many thanks Alexandre,
josep m

From: Alexandre Torres Porres 
Sent: Sunday, April 4, 2021 3:38 AM
To: Jeppi Jeppi 
Cc: pd-list@lists.iem.at 
Subject: Re: [PD] is inlet~ connected?

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 output.

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.

cheers


Em sáb., 3 de abr. de 2021 às 10:29, Jeppi Jeppi 
mailto:jepp...@hotmail.com>> escreveu:
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@lists.iem.at<mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] is inlet~ connected?

2021-04-03 Thread Alexandre Torres Porres
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
output.

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.

cheers


Em sáb., 3 de abr. de 2021 às 10:29, Jeppi Jeppi 
escreveu:

> 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@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] is inlet~ connected?

2021-04-03 Thread Alexandros

You can try connecting an [inlet~] to [zexy/sigzero~].


On 3/4/21 4:11 μ.μ., Jeppi Jeppi wrote:

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@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list