[PD] knowing if there's anything connected to an [inlet~] in a subpatch or abstraction

Joe White white.joe4 at gmail.com
Tue Feb 24 18:20:52 CET 2015


Hey Alexandre,

Does this do want you want? Toggles between a signal input converted to
control rate and a default value (if the signal is 0)

Cheers,
Joe

On 24 February 2015 at 17:08, Alexandre Torres Porres <porres at gmail.com>
wrote:

> hi, trying to make an abstraction here that loads a number argument into
> an audio signal chain, but I'd like to update the argument to whatever is
> coming from an [inlet~], but then I'd like to load back the argument
> whenever there is no signal connected to this inlet.
>
> The only way to do this is if I know wether there was something connected
> to this inlet or not, and I believe that's impossible in a
> subpatch/abstraction, right?
>
> So, the only way out would be compiling a new object, huh?
>
> thanks
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
Follow me on Twitter @diplojocus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150224/d771e826/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pd
Type: application/octet-stream
Size: 791 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150224/d771e826/attachment.obj>


More information about the Pd-list mailing list