Indeed, in both cases it was the oppression (Catholicism and slavery) that sparked the creative spirit. Music, or more properly song, has always been a source of hope for the oppressed.
Given the strong influence of the Catholic Church on the make-up of the current US Supreme Court, one finds Tim Minchin's "Pope Song" increasingly relevant: