a group of four musicians played from a gallery above the throng ; the drummer beat out an energetic , erratic rhythm while the others provided the melody on two pipes and a large stringed instrument .