--- On Wed, 7/29/09, Hans Roels <hans.roels(a)versateladsl.be> wrote:
> From: Hans Roels <hans.roels(a)versateladsl.be>
> Subject: [PD] changeable receive
> To: pd-list(a)iem.at
> Date: Wednesday, July 29, 2009, 5:00 PM
> hello,
>
> From what I read and tried, it is impossible to change the
> argument of 'receive' (like the right inlet of send) in
> Pd-vanilla.
> Is there a trick to solve this in vanilla?
>
> I want to be able to insert the names of various receives
> in symbol boxes. The only way to do this is by using a
> slider or number box and sending a [receive $1( to
> this object. This works but
> 1. I can only receive numbers from this 'receive' and not
> lists, symbols,... like a normal receive
> 2. in this way all these GUI are using CPU. Does it help to
> reduce the CPU consumption if I reduce the size of this GUI
> to the minimum?
>
> I hope somebody has found a hack for this problem?
You could use a bunch of spigots, or [list prepend] + [route], but both
have the limitation that you must know what the receive names are
ahead of time.
Here's a solution that uses dynamic patching. If there's a way to do this
in vanilla without it, I'd like to know it, too.
-Jonathan