“Funk carioca,” or simply “funk” is a mixture of hip-hop, samba and electronic music that has had a rocky relationship with Brazilian authorities.