Hello James,
One way to do this would to be to make a solid with an adjustment layer in between it and the layer you want it affect and find the Audio Waveform under generate, this makes an editable dotted line, you can then change the opacity color and other things and rotate it as you like, this may not be quite what you were looking for though. Who knows? maybe it will look better?