[PD] suggestion: $0 in messages

João Pais jmmmpais at gmail.com
Mon Apr 2 21:43:22 CEST 2018


>> For me, I can't count how many times I had to add a [$0], or a pack
>> or some extra workaround before a message so that I could send
>> messages to my variables (I hardly use variables without a $0).
>
> I can't count how many times I had to loop back the outlet of a [+ 1]
> to the right inlet of a [f ] to build counter.

You can use [jmmmp/f+], it's prepared to avoid such repetitive tasks. Or,  
you can request for a new object be part of pd vanilla, since this is an  
operation that I would bet 99.9999999% of users come up to sooner or later.


> Apparently, you need to figure out the creation argument first before
> you build a message using it. I don't see anything specially tedious
> about this process.

You can, but is it really necessary to add more objects for something that  
could be easily solved by the language? The point isn't that something is  
impossible to do now, but that it would make work much easier.


> Why is nobody complaining about not being able to use the third
> creation argument directly withing a message? What's the fuzz about the
> $0?

Maybe because the $3 of a patch is most likely used a fraction of the  
times compared to $0. If your patch doesn't have any abstractions, there's  
no $3 to use.



More information about the Pd-list mailing list