add option to adjust beats per measure