Hi Chjm,
in LV package, from version 5.1 and above, there are examples for sound card management.
Particularly, you should use the Sound Card Simple Spectrum Analyzer.vi.
It is a real-time spectrum analyzer of the input signal of your sound card.
Good luck,
Alberto