Drawing audio wave to the custom clip.

Hello,
Is there a way to draw an audio wave to the custom clip?
Unity’s built-in audio clip shows these graphs as a default and I was hoping to draw these on the custom clip by giving them a reference to audio assets.

(I am talking about this graph that runs across the clip)

Found solution.
ClipEditor:drawBackground() - created waveform texture from audio file and applied it with EditorGUI:drawTextureTransparent()

1 Like