-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
In my PD documentation-reading and websurfing travels, I happened upon an external or some other way to obtain the sample rate from PD programmatically, instead of hardcoding it (bad! bad! bad!) in PD patches.
But I didn't write it down, and my bookmark list is so stuffed with crap that there's no way I'd ever return if I went in there to look.
So I'll ask here: how does one obtain the current sample rate of the audio engine, from within a PD patch?
Thanks.
(By the way, I'm writing a jack_metro abstraction, which is basically a metro that is sync'ed to JACK's sample-accurate clock, unless of course someone has already done it, so please let me know if they have).