Re: [iemguts/savebangs] and [iemguts/canvasdelete] doesn't work as I would expect them
Alexandros Drymonitis <[email protected]> Fri, 29 May 2026 12:55:52 +0300
| Newsgroups | gmane.comp.multimedia.puredata.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------AmYmgOB3boVGCWEl9TKaLZ2C Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/27/26 14:18, IOhannes m zmoelnig via Pd-list wrote: > On 5/21/26 18:13, Alexandros Drymonitis wrote: >> The help patch of [iemguts/savebangs] states that its second outlet >> fires before the patch is saved. I'm trying to use this object >> combined with [iemguts/canvasdelete], to delete some objects before >> the patch is saved, but it doesn't work. >> >> I'm using this to also send a "clear" message to a subpatch, which >> seems to work. But "delete $1" triggered by a loop which in turned is >> triggered by the right outlet of [iemguts/savebangs] doesn't delete >> the objects before the patch is saved. Is this behaviour normal? > > could you provide a (simplified) example patch the demonstrates the > problem? Here's a patch (attached). It seems that I was probably wrong, still the patch doesn't work as I expect it to work. Connect the right outlet of [savebangs] to the message underneath it and save. In [pd test1] only [osc~ 440] should remain, since the loop is set to run two times and delete two objects, [phasor~] and [cos~], but only one object gets deleted. The contents of [pd test2] are cleared though. --------------AmYmgOB3boVGCWEl9TKaLZ2C Content-Type: text/x-puredata; charset=UTF-8; name="savebangs_bug.pd" Content-Disposition: attachment; filename="savebangs_bug.pd" Content-Transfer-Encoding: base64 I04gY2FudmFzIDEwODIgNjUzIDQ2NiA1NTAgMTI7CiNYIG9iaiA0OCA0NSBpZW1ndXRzL2Nh bnZhc2RlbGV0ZTsKI1ggb2JqIDUwIDk0IGllbWd1dHMvc2F2ZWJhbmdzOwojTiBjYW52YXMg ODM0IDQ3NiA0NTAgMzAwIHRlc3QxIDA7CiNYIG9iaiA2MSA1MiBvc2N+IDQ0MDsKI1ggb2Jq IDYyIDEwNyBwaGFzb3J+IDE7CiNYIG9iaiA2MyAxNjEgY29zfjsKI1ggcmVzdG9yZSAyNzcg ODggcGQgdGVzdDE7CiNOIGNhbnZhcyA4MzQgNDc2IDQ1MCAzMDAgdGVzdDIgMDsKI1ggb2Jq IDYzIDY2IGFycmF5IGRlZmluZSB0ZXN0IDEwOwojWCByZXN0b3JlIDI3NyAxMTggcGQgdGVz dDI7CiNYIG1zZyAxNjYgMTIyIDI7CiNYIG9iaiAxNjYgMTQ3IHVudGlsOwojWCBvYmogMTY2 IDE3MiBmOwojWCBvYmogMTY2IDE5NyB0IGYgZjsKI1ggb2JqIDIxMSAxNzAgKyAxOwojWCBv YmogMTk4IDI0OSArIDE7CiNYIG1zZyAxOTggMjc0IGRlbGV0ZSBcJDE7CiNYIG9iaiAxOTgg Mjk5IHMgcGQtdGVzdDE7CiNYIG9iaiAxNjYgMjIzIHQgZiBmOwojWCBtc2cgMTY2IDM2MCBj bGVhcjsKI1ggb2JqIDE2NiAzODUgcyBwZC10ZXN0MjsKI1ggb2JqIDE2NiAzMzIgc2VsIDE7 CiNYIGNvbm5lY3QgNCAwIDUgMDsKI1ggY29ubmVjdCA1IDAgNiAwOwojWCBjb25uZWN0IDYg MCA3IDA7CiNYIGNvbm5lY3QgNyAwIDEyIDA7CiNYIGNvbm5lY3QgNyAxIDggMDsKI1ggY29u bmVjdCA4IDAgNiAxOwojWCBjb25uZWN0IDkgMCAxMCAwOwojWCBjb25uZWN0IDEwIDAgMTEg MDsKI1ggY29ubmVjdCAxMiAwIDE1IDA7CiNYIGNvbm5lY3QgMTIgMSA5IDA7CiNYIGNvbm5l Y3QgMTMgMCAxNCAwOwojWCBjb25uZWN0IDE1IDAgMTMgMDsK --------------AmYmgOB3boVGCWEl9TKaLZ2C Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/QDPLKPEKWPEPOP6454AQYEI53EZNAF5U/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/ --------------AmYmgOB3boVGCWEl9TKaLZ2C--