I've found that I can compute the sample rate as a float inside of chuck code by using 1::second/1::samp but I'm wondering if it might be available in some other way, like a global variable.

I was thinking, if something doesn't already exist, maybe it could be a variable belonging to the Machine class library. It is a property of the Virtual Machine, right?