added bpm based on sample rate and clock