[PD-dev] [initbang]: any use?
carmen
_ at whats-your.name
Mon Aug 21 18:40:42 CEST 2006
On Mon Aug 21, 2006 at 06:07:38PM +0200, IOhannes m zmoelnig wrote:
> hi.
>
> i just submitted a patch against the 0.40-prerelease that adds a new object
> [initbang], which can be used to trigger a constructor in an abstraction.
>
> this allows to have abstractions with runtime customizable constructors, especially
> variable inlets/outlets.
> ([loadbang] is a bit too late for such things, as it only gets called when the parent
> of an abstraction is already finished (and connections have been abandoned))
>
> i think this is another important step on making abstractions objects of full age.
>
> any thoughts?
sounds useful. it recently came up on IRC that abstraction-loadbangs don't work properly:
21:44 ClaudiusM internal messaging question: why don't abstractions you create with "; pd-blah obj 1 2 myabstraction a b c" get loadbang'd?
21:55 ClaudiusM hmm, i think i can create a receive in the abstraction dependant on abstraction arguments and send a bang to that...
22:02 ClaudiusM can i do this in each abstraction i want to really loadbang on dynamic creation?
[r MEGA_HACKY_LOADBANG_MEGA_HACK]--[once]--[f $0]--[makefilename pd-%d-myabstraction.pd]--"; $1
loadbang"
one step closer to having full python/c++ style OO :D
More information about the Pd-dev
mailing list