@fabriek It feels like something ffmpeg should be able to do. Quickly searching for it yields a couple of hits, but I've no idea if they actually work:
https://discuss.pixls.us/t/ffmpeg-scripting-to-create-an-scrolling-spectrogram/32943
https://www.reddit.com/r/ffmpeg/comments/xt7dko/scrolling_spectrogram_audio_visualization/