[PD] pure-pd default creation argument mechanism

Damian Stewart damian at frey.co.nz
Wed Oct 22 17:53:30 CEST 2008

Damian Stewart wrote:
> IOhannes m zmoelnig wrote:
>> ihaven't read your entire mail (due to lack of time), but how does this 
>> relate to the "empty creation argument" thread 
>> (http://lists.puredata.info/pipermail/pd-list/2008-10/065479.html)
>> and the solution i posted there?
> sir, you're genius. thank you.

hmm. actually, this isn't doing what i thought it was..

i don't really understand how it's working. what i want is an abstraction 
that is able to determine whether a given $-argument in its _parent_ is 
specified or not. at the moment, [d-default] works in such a way that i can 
go [d-default $2 50], and if $2 in the current-level patch (ie the parent 
of this instance of [d-default] is not specified, it will output 50.

can you explain the [1(-[makefilename $%d-test] voodoo? my intuition is 
that [makefilename] ought to outlet '$1-test', but according to [print] 
it's actually outputting \\$1-test, which looks like some kind of funky 
escape sequence... over my head in any case.


damian stewart | skype: damiansnz | damian at frey.co.nz
frey | live art with machines | http://www.frey.co.nz

More information about the Pd-list mailing list