is there any way to get the current sample rate into a patch as a message? the granulator i am working on now needs to know...
d.
bang samplerate~
On Thu, 02 Oct 2003 03:28:02 +0200 derek holzer derek@x-i.net wrote:
is there any way to get the current sample rate into a patch as a message? the granulator i am working on now needs to know...
d.
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
pix wrote:
bang samplerate~
this will only output pd's "main" samplerate (the one's the dac~s work at) currently there is no way to get a subpatch's samplerate (which could differ because of up/downsampling). probably a [siginfo~] (or rather an enhanced functionality of [block~]/[switch~]) would be a good idea that would allow gathering of block-specific information of the signal-vectors, such as vector-size, overlapping & samplerate. ([bang( to [block~] could output a list of these values. so finally the inlet of [block~] would become meaningful...)
mfg.asd.r IOhannes