[PD] default value for an abstraction's creation argument

robbert van hulzen robbert at nocount.org
Mon Jul 23 00:22:50 CEST 2007


thanks, i'll have a look at that. (atm it seems there's sth funny with the
paths--it creates, but the [test_dollarg] and [pp set] bits don't create.)
cheers, robbert


On 7/23/07 12:09 AM, "Thomas O Fredericks" <tof at danslchamp.org> wrote:

> The best object for this is dollarg from iemlib. Check it out, it is well
> worth it.
> 
> Tom
> 
> On 7/22/07, robbert van hulzen < robbert at nocount.org
> <mailto:robbert at nocount.org> > wrote:
>> dear all,
>> i'm wondering how to get a default value for an abstraction argument that is
>> not specified. eg: my abstraction [equality] can take 3 arguments, but i
>> don't want to *have* to type the arguments, in which case the abs should use
>> a default value.
>> i came up with the following solution:
>> 
>> [loadbang]
>> |
>> [$1]
>> |
>> [moses 1]
>> |      |
>> [t b]  /
>> |    /
>> |  /
>> |/
>> [f 440]    <-- default value
>> 
>> i'm not sure how elegant this is, really.
>> any thoughts?
>> cheers, robbert 
>> 
>> 
>> 
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
> 
> 







More information about the Pd-list mailing list