[PD] Pd-L2Ork [ii]
jancsika at yahoo.com
Mon Mar 31 17:09:36 CEST 2014
I wouldn't use [init]. The same functionality is available using [loadbang] connected to a storage object ([float], [list], message box, etc.). And [loadbang] is available in all versions of Pd, so your patch will be more portable.
The [init] object's args make patching _slightly_ easier. The inlet makes it more expressive, but a subtle feature of [loadbang] is that it's easier to spot because it's always at the top of a chain. Also "init" as class name is problematic-- [float 6] "inits" to 6, after all, but does not output a message upon initialising. I suppose the idea is to be consistent with iemgui "init", which itself is obscure and requires the user to bring up a dialog window to understand how the patch works. (Not to mention it clashes with [initbang], where "init" has a different meaning altogether.)
The only other potential advantage is that if you have [init] fanning out to several objects, you can test your patch by simply by connecting [bng] to the inlet of [init]. With [loadbang] you would have to create a [bng] and then connect it to every object that [loadbang] connects to. But at least in Pd-l2ork you can either:
a) click [loadbang] with the mouse to output a bang. (This is how Max/MSP solves this problem, too.)
b) select all the objects to which you'd like to connect, then draw a connection from [bng] to one of them. In Pd-l2ork this will make a connection from the outlet to all of the selected objects.
On Monday, March 31, 2014 10:23 AM, "puredata at 11h11.com" <puredata at 11h11.com> wrote:
init_class = class_new(gensym("init"), (t_newmethod)init_new,
(t_method)init_free, sizeof(t_init), 0, A_GIMME, 0);
class_addcreator((t_newmethod)init_new, gensym("ii"), A_GIMME, 0);
Will continue to test Pd-L2Ork (I had some difference with pd-extended
regarding -path (not all my abstractions were found)). Will report back.
BTW, I never used the PPA thing on LaunchPad, but it would be nice for
installing / updating Pd-L2Ork.
Pd-list at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list