[PD] packed floats to select object changes the select value

Christof Ressi info at christofressi.com
Sun Sep 20 14:29:07 CEST 2020


> due probably to pd objects' default behaviour of using a second float 
> to set the cold inlet. 
that's correct. The first inlet of [select] expects a *single* float (or 
symbol). The help patch says: "compare floast and symbol".

> Pretty sure this is unwanted behaviour

The behavior has been like this for ages and won't change. If you don't 
like it, use another object. You're probably looking for [relay] from 
zexy. You can easily make a vanilla version with [list split], [route] 
and [list prepend].

Christof

On 20.09.2020 13:13, Matt Davey wrote:
> [2 3(
> |
> [sel 2]
>
> outputs the 2 from the right outlet!  Sending a 3 afterwards outputs a 
> bang from the left outlet.
>
> Pretty sure this is unwanted behaviour, due probably to pd objects' 
> default behaviour of using a second float to set the cold inlet.  In 
> this case it is definitely unwanted, and can be the source of some 
> very hard to track down bugs.
>
>
>
> _______________________________________________
> 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/20200920/85f40783/attachment-0001.html>


More information about the Pd-list mailing list