Weird behaviour with list and funnel (Bug?)


    Mar 24 2019 | 1:16 pm
    Hi everybody, I just noticed a very weird behaviour using a list of 4 floats and the funnel object. For some weird reasons only the first item of the list go through fennel, the other 3 are ignored. However when I move the integer boxes before funnel, the object behave correctly! Am I doing something wrong or it is a bug?
    I'm on a MacBook Pro 2019, Mojave 10.14.3 and Max 7.3.6.
    Thank you!

    • Mar 24 2019 | 1:39 pm
      I also tried to simplify the path, bypassing the scale object, made all boxes Integers and used join 4 @triggers -1 and unjoin 4. Same problem. It seem that fennel doesn't like lists...
    • Mar 24 2019 | 3:03 pm
      Try this
    • Mar 24 2019 | 3:11 pm
      I fixed the problem temporarily inserting a change object between unjoin and the integers boxes.
    • Mar 24 2019 | 8:32 pm
      To really see what's coming out of the output, use [print] and observe the Max Window. Everything works as expected:
    • Mar 24 2019 | 8:44 pm
      Hi Rick, Jean Francois, thank you very much, I can see it's working properly in the Max Window even if it's not showing on the message box... I still don't get why it's doing that, especially why it does work when I put a change object between the unjoin object and the integers... weird! Best!
    • Mar 25 2019 | 2:21 am
      - without your "change" object, you give four values to the four inputs of [funnel] each time you touch one of the numbers. That's because of your [join]/[unjoin] (same with [pack]/[unpack]). Because you are giving four numbers to each input of [funnel], [funnel] gives you four values (which print very fast, and you see just the last one in the [message]) - with [change], you are just filtering out numbers when they don't change, so you are forwarding to [funnel] only one number... Then you get only one list out.
    • Mar 25 2019 | 11:43 am
      Clair come de l'eau de roche, thanks Jean-François!!