Hearing music is not illegal but unauthorized offline sharing is. So use a good quality VPN app when you download the music from the Setbeat app.