[PD-dev] bang [block~] to query current blocksize
Frank Barknecht
fbar at footils.org
Mon May 26 21:40:35 CEST 2008
Hallo,
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
> Hmm, for DSP state, that's global, so using a global receive symbol
> makes sense, IMHO.
The problem is not, that the state is global, but that with the
send/receive approach there would only be a global way to access the
state, but no locally restricted way.
Take for example [samplerate~]: The (global) samplerate also is a
global property, but with [samplerate~] I can access this information
locally, i.e. it will only be sent to the outlet of the [samplerate~]
object that gets a bang. Imagine if instead of [samplerate~] there was
only a global [s pd-samplerate] and [r pd-samplerate] pair available.
Everytime, you'd want to get the samplerate, you would also activate
all other places where you have a [r pd-samplerate]!
Chuck's workaround of [spigot]ting all receivers of course is even
more of a kludge and may in fact be proof of a lack of needed
functionality.
Ciao
--
Frank Barknecht _ ______footils.org__
More information about the Pd-dev
mailing list