Beat Tracking the Graphical Model Way