atom feed20 messages in at.iem.pd-listRe: [PD] Dynamic generation of $0-inc...
FromSent OnAttachments
Luke Iannini (pd)Feb 7, 2007 6:54 pm 
Alexandre QuessyFeb 7, 2007 8:34 pm 
Chris McCormickFeb 7, 2007 9:11 pm.pd
Chris McCormickFeb 7, 2007 11:00 pm 
Luke Iannini (pd)Feb 7, 2007 11:15 pm 
Frank BarknechtFeb 7, 2007 11:23 pm 
Luke Iannini (pd)Feb 7, 2007 11:33 pm 
PatcoFeb 8, 2007 2:41 am 
Roman HaefeliFeb 8, 2007 2:44 am 
PatcoFeb 8, 2007 3:32 am 
Frank BarknechtFeb 8, 2007 4:35 am 
Roman HaefeliFeb 8, 2007 4:45 am 
SteffenFeb 8, 2007 5:20 am 
Roman HaefeliFeb 8, 2007 5:45 am 
Frank BarknechtFeb 8, 2007 5:57 am 
SteffenFeb 8, 2007 6:05 am 
Luke Iannini (pd)Feb 8, 2007 6:11 am 
hard offFeb 8, 2007 9:12 am 
Roman HaefeliFeb 8, 2007 1:31 pm 
hard offFeb 8, 2007 3:18 pm 
Subject:Re: [PD] Dynamic generation of $0-including objects?
From:Chris McCormick (chr@mccormick.cx)
Date:Feb 7, 2007 9:11:17 pm
List:at.iem.pd-list
Attachments:
dyn-dollar-zero.pd - 0.3k

On Wed, Feb 07, 2007 at 07:54:40PM -0700, Luke Iannini (pd) wrote:

I'm trying to generate objects within a subpatch using [obj( messages, and I want those generated objects to have $0 as one of their arguments, e.g. [myobject $0]. Using [obj x y myobject $0( gives [myobject 0] (I know $0 is not for messages, just thought I'd give that a try), and of course [list append $0] to the object message just adds the interpreted $0 of the parent patch. I'd like to preserve the "$0". Anyone know of a way to do it?

Hi,

I think the attached patch demonstrates what you mean.

Best,

Chris.

#N canvas 9 30 445 139 10; #X obj 7 53 makefilename %s%d; #X msg 7 5 $ 0; #X obj 7 28 pack s f; #N canvas 0 0 450 300 result 1; #X restore 360 4 pd result; #X msg 7 76 \; pd-result obj 10 10 test \$1; #X connect 0 0 4 0; #X connect 1 0 2 0; #X connect 2 0 0 0;