[PD] select based on first "element"

Atte atte at youmail.dk
Wed Sep 12 19:07:28 CEST 2018


Hi

I'm getting back into PD after a long time. Sorry if the following is either obvious, obviously impossible, unclear, or the wrong way to go about things.

I have an abstraction that I'd like to send different data through the same inlet, say param1=0, param2=3. Taking the abstraction part out of the equation, I guess I need to parse a list based on the first element.

Here's what I have, which doesn't work:

|param1 0(   |param2 3(
 |_______________|
          |
    | select param1 param2 |
       |        |        |
  |print p1| |print p2|

How would I go about that? I'm in vanilla...
      
Cheers
-- 
Atte

http://atte.dk   http://a773.dk





More information about the Pd-list mailing list