<div dir="ltr">well, as you'll see in the other thread about maintaining cyclone, my motivation was to use than in order to code other max clone objects like [>=~] :)</div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-24 16:35 GMT-03:00 Fred Jan Kraan <span dir="ltr"><<a href="mailto:fjkraan@xs4all.nl" target="_blank">fjkraan@xs4all.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alexandre,<br>
<br>
Some cyclone objects (bitand~, bitor~, bitxor~, pong~, Scope~) change<br>
their behaviour depending upon a signal is connected to an inlet.<br>
<br>
It uses functionality outside the official Pd API (m_pd.h), so depending<br>
on your point of view they are illegal or just unstable. The part of the<br>
framework providing the functionality is actually called 'unstable' :-).<br>
<br>
<br>
Fred Jan<br>
<span class=""><br>
> So that's why I guess it has to be an object...<br>
><br>
> Moreover, some objects in pd have this interesting behavior.<br>
><br>
> When you have an argument in [*~], for example, it turns the second<br>
> inlet into a data only inlet (no signal).<br>
><br>
> I found this behaviour even in some externals like [>~] in zexy, so I<br>
> wonder if this is some restriction of pd objects itself, or if it was<br>
> just a design option that was replicated in zexy on purpose.<br>
><br>
> If I have to do this as an object, I'd like it to maintain a signal<br>
> inlet even though I have  number argument. So I hope there's nothing<br>
> "weird" in Pd that doesn't allow this to happen.<br>
><br>
> cheers<br>
><br>
> 2015-02-24 14:26 GMT-03:00 Alexandre Torres Porres <<a href="mailto:porres@gmail.com">porres@gmail.com</a><br>
</span>> <mailto:<a href="mailto:porres@gmail.com">porres@gmail.com</a>>>:<br>
<span class="">><br>
>     I thought about it, but the the problem is that I'd like the signal<br>
>     to update the incoming value even if it is 0...<br>
><br>
>     so it doesn't quite make it.<br>
><br>
>     thanks<br>
><br>
><br>
>     2015-02-24 14:20 GMT-03:00 Joe White <<a href="mailto:white.joe4@gmail.com">white.joe4@gmail.com</a><br>
</span>>     <mailto:<a href="mailto:white.joe4@gmail.com">white.joe4@gmail.com</a>>>:<br>
<span class="">><br>
>         Hey Alexandre,<br>
><br>
>         Does this do want you want? Toggles between a signal input<br>
>         converted to control rate and a default value (if the signal is 0)<br>
><br>
>         Cheers,<br>
>         Joe<br>
><br>
>         On 24 February 2015 at 17:08, Alexandre Torres Porres<br>
</span><span class="">>         <<a href="mailto:porres@gmail.com">porres@gmail.com</a> <mailto:<a href="mailto:porres@gmail.com">porres@gmail.com</a>>> wrote:<br>
><br>
>             hi, trying to make an abstraction here that loads a number<br>
>             argument into an audio signal chain, but I'd like to update<br>
>             the argument to whatever is coming from an [inlet~], but<br>
>             then I'd like to load back the argument whenever there is no<br>
>             signal connected to this inlet.<br>
><br>
>             The only way to do this is if I know wether there was<br>
>             something connected to this inlet or not, and I believe<br>
>             that's impossible in a subpatch/abstraction, right?<br>
><br>
>             So, the only way out would be compiling a new object, huh?<br>
><br>
>             thanks<br>
><br>
>             _______________________________________________<br>
</span>>             <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> <mailto:<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a>> mailing list<br>
<div class="HOEnZb"><div class="h5">>             UNSUBSCRIBE and account-management -><br>
>             <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
><br>
><br>
><br>
>         --<br>
>         Follow me on Twitter @diplojocus<br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
</div></div></blockquote></div><br></div>