Hello,
I tried this and it did not work:
https://www.processing.org/reference/libraries/sound/FFT_input_.html
Some investigation and I discovered my Stereo Mix was Disabled.
I Enabled the Stereo Mix and it does work now!
I disconnected my USB microphone (part of camera) as a first step so it is not in list.
:)
Can you guess which song I was playing?