Microphone to sprectral analysis

Microphone to sprectral analysis... Sure there is a lib for this. Bored. It's in a sound locating project I have. As I was told, echoes would confound the process, so I intend to isolate to lower f sounds such as door closures, items falling, explosions. I guess I could use low pass but programativly might be easier.. where should I start?