[PD] [initbang] vs [loadbang]
jack at rybn.org
Sun Jul 5 22:51:42 CEST 2015
-----BEGIN PGP SIGNED MESSAGE-----
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 &&
Then you can save your abstraction, this is ugly but seems to work...
Le 05/07/2015 22:07, Jack a écrit :
> Yes, nice, all is in the last line in the abstraction ;) ++
> 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.
>> Pd-list at lists.iem.at mailing list UNSUBSCRIBE and
>> account-management ->
> Pd-list at lists.iem.at mailing list UNSUBSCRIBE and
> account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----
More information about the Pd-list