use right sample rate for calcs