what are the similarities of baroque and medieval music?​