How can I listen to free online music while performing other tasks on my device?
I heart Radio and TuneIn Radio are apps that let you stream FM radio stations.  You select the sort of station you like and listen to the music they play. 

I personally use them for listening to talk radio, but same difference.