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

matthew brandi mfbrandi at outlook.com
Sun Sep 20 15:15:33 CEST 2020


On 20/09/2020 12: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.

Dear Matt

I don’t find this behaviour problematic, but if you want to guard against
accidentally "reprogramming" the select by sending a list, you can add a second —
repeated — argument to the select (the second inlet goes away and the second outlet
is redundant):

[2 3(
|
[sel 2 2]

… or you can place a float before the select:

[2 3(
|
[f]
|
[sel 2]

Right?

Best

m
-- 
matthew brandi





More information about the Pd-list mailing list