Changed ms per sample to seconds per sample