[PD] Do [singleton]s get loadbangs?
Phil Stone
pkstone at ucdavis.edu
Mon Sep 3 20:18:25 CEST 2007
Hello all,
I'm trying to figure out how to use [singleton] from [sssad] so that I
can instantiate some lookup tables once and only once for use in
multiple patches.
The [singleton] help patch is a bit cryptic, but I've so far guessed
that I can wrap the table-creating object like so:
[singleton WTAB waveTables]
It appears that the tables are correctly allocated by this, but they are
not initialized; i.e. the arrays are created, but the code that fills
them in is not triggered, even though there is a [loadbang] in
[waveTables] that's supposed to trigger it.
So my question is first, am I even close to using [singleton]
correctly? and secondly, do objects created by [singleton] get a loadbang?
Phil Stone
http://pkstonemusic.com
More information about the Pd-list
mailing list