Years ago, I posted here an app I wrote, called soundspec, that could take an audio file, or many files, and creates a spectrogram PNG image from each file. That app is old, and was never very portable.
I re-wrote that app recently in Go. It now runs on many operating systems (macOS, Windows...