[PD] how to get the actual sample rate?

IOhannes m zmölnig zmoelnig at iem.at
Sun Oct 15 19:59:26 CEST 2017

On 10/14/2017 10:51 PM, Alexandre Torres Porres wrote:
> no, I mean Pd's "global" sample rate, not an audio file's rate

well, my answer was specifically about the "global" sample rate, not
about audio files.

if you are running Pd at 44.1kHz, then the following prints out "44100",
even if run in an up- or downsampled subpatch:

[write -nframes 0 . foo(
           [t f]

which i think is what you asked for.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20171015/ed6d663e/attachment.sig>

More information about the Pd-list mailing list