A spectrogram is a visual way of representing the signal strength, or “loudness”, of a signal over time at various freq…