By default Google Slides doesn’t offer music support. With a small trick we can achieve it.
Simply adding a link to online music file will give you music on slide. You can insert link or image with link. You can insert YouTube video too.
But in all methods you have to click the links while playing presentation. Then only the music will play.
For detailed steps click here