Calculate ms of next beat per QLC-Input