How was music outside the church
produced during the Middle Ages?​