routing in pd (was: [PD] pd if-then-else)

Chris McCormick chris at mccormick.cx
Wed Jul 19 13:06:54 CEST 2006


On Wed, Jul 19, 2006 at 10:30:55AM +0100, Tas Pas wrote:
> The problem which occurs with [select] is that, when a match value reaches [select's] inlet, [select] sends a [bang] to the corresponding outlet and not the value it received and triggered the [bang].

You could do:

  |
  |
 [t f f]
  |   \
  |    \
  |     \
  |      \
  |       \
  |        \
 [select 5] \
  \         |
   \        |
    \       |
     \      |
      \     |
       \    |
        \   |
	 \  |
         [f  ]


> What I want to do is to route the messages.
> If I send values in a specific range, I want them to go somewhere.
> If I send values beyond tha range, I want them to go somewhere else.

Have you tried [moses] ?

Best,

Chris.

-------------------
chris at mccormick.cx
http://mccormick.cx




More information about the Pd-list mailing list