How to check microphone localy on Rpi5?

Hey Everyone,

I installed all required addons for Home Assist (Whisper, Piper, Assist Microphone). I have USB sound card connected to Rpi5. But i can’t get any respond to my voice. I try to check ‘Debug - Assist Pipeline - Run Text Pipeline’ and it’s working fine. So i suspect my USB card. How to ensure that microphone is working properly? Is it possible to record sound directly to the file?

Found answer here:

example in terminal run:
arecord --format=cd file.wav

and here how to setup mic options.