Most Greek men trained to play an instrument competently, and to sing and perform choral dances. Instrumental music or the singing of a hymn regularly accompanied everyday activities and formal acts of worship. Shepherds piped their flocks, oarsmen and infantry kept time to music, and women made music at home. The art of singing to one’s own stringed accompaniment was highly developed. Greek philosophers saw a relationship between music and mathematics, envisioning music as a pattern of harmonious order reflecting the cosmos and the human soul.