-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Without this last line in the abstraction, it is possible to use something like : $ sed -i '/inlet;/d' ./dynin.pd && if [[ $(tail -n1 dynin.pd) != "_initbang bang;" ]] ; then echo "_initbang bang;" >> dynin.pd ; fi && pd dynin-test.pd Then you can save your abstraction, this is ugly but seems to work... ++
Jack
Le 05/07/2015 22:07, Jack a écrit :
Yes, nice, all is in the last line in the abstraction ;) ++
Jack
Le 05/07/2015 22:01, Roman Haefeli a écrit :
On Son, 2015-07-05 at 21:04 +0200, IOhannes m zmölnig wrote:
On 07/05/2015 08:57 PM, Alexandros Drymonitis wrote:
saving the "dynin.pd" abstraction, will break it.
[...]
abstraction. I put [r _initbang] but it won't work.
the trick is *not* to have a [r _initbang] in your patch. the trick is to generate a message sent to the "_initbang" label. this is a fragile hack, hence all my warnings; esp. the first warning "do not save" is for real - and it's not because you will save the dynamically generated objects, but because it will break the init logic.
and i would very much prefer if anybody who wants to use that trick discovers themselves how it actually works (e.g. by studying the patch i gave).
Despite your slight tone of discouragement to use such a hack, it's still a cool and smart hack. Thanks for sharing.
Roman
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list