[PD] changeable receive

Jonathan Wilkes jancsika at yahoo.com
Wed Jul 29 21:05:31 CEST 2009


--- On Wed, 7/29/09, Hans Roels <hans.roels at versateladsl.be> wrote:

> From: Hans Roels <hans.roels at versateladsl.be>
> Subject: [PD] changeable receive
> To: pd-list at 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


      
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dynr.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090729/395507bd/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dynr-help.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090729/395507bd/attachment.asc>


More information about the Pd-list mailing list