[PD] new external: closemsg

Mathieu Bouchard matju at artengine.ca
Mon Sep 3 19:33:12 CEST 2007


On Mon, 3 Sep 2007, Thomas O Fredericks wrote:

> Since I started making externals for PD, here is a new one: [closemsg X] 
> It sends a bang to X when it is destroyed. It therefore acts as a 
> closebang. See attached source and i386 linux binary.

It shouldn't be called "close" because [closebang] is made to be banged 
just before deleting objects in the patch, just like [initbang] and 
[loadbang] are made to be banged after actual creation. [closemsg] gets 
triggered too late for that. On top of this, it gets triggered in the 
middle of deleting a patch, which means you can't rely on the patch being 
complete and you can't rely on the patch being empty either.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada


More information about the Pd-list mailing list