Adding code to slider area


#1

I’m creating a site for a musician and hoping to integrate a music visualizer by using the code from this codepen. How can I integrate this to a slider item?

Thanks for your help.