Making a 'spectrogram'!

Considering the equation for a progressive wave, we can generated a signal...

image.png

Let's consider only the time variation, so the 'x' vanishes