I have created a sketch that may be of interest to Arduino RP204 Nano Connect users. It uses the onboard PDM microphone, samples the audio output and displays the spectrum on a TFT.
Sketch and more details here:
https://github.com/Bodmer/Audio-Spectrum-FFT