The spectrogram shows the DB distribution from 20Hz to 20kHz, which can be understood as the loudness distribution, which is the volume in the proverb. It is generally calculated using fft.
The waveform diagram is sometimes also A spectral line is sometimes the restored speaker power supply voltage signal waveform. Of course, it can also be regarded as a sound waveform