Live visual audio output stream

Hey there,
My goal is to have a visual live audio output stream from a given source (microphone or file), just like the one for the microphone input that shows the waveform live over time.
I’ve been searching through the docs and i can’t see how i would implement it using current gradio features, but i’ve just started using gradio so maybe im looking in the wrong places.
Is this possible corrently? if so please show me!
Thank you!