Creating an audio waveform

I’m trying to create a waveform of a song but cannot figure out how. I’m looking to do something like this

Any ideas?

May be you can modify Blender 3D electric spark effect.

Maybe you can combine your spline effectors with this very nice method:

(Tutorial linked: 11%2F06%2F02%2Fbuilding-an-audio-visualizer-in-python%2F&session_token=kFjPQCst1gkTfHgS7A-V3jUPjbd8MTMzNjMwOTgyNEAxMzM2MjIzNDI0)