Bars ( measures ) divide the piece into regular groupings of beats , and the time signatures show these groupings . Measures ( bars ) divide the piece into groups of beats , and the time signatures specify those groupings .