how to use audio record function in maixpy?

I find maixpy have some audio record API,but I don’t know how to use them.
wiki don’t have example for audio.record_process,audio.record
Any help??

please refer to scripts repo

No one will have a good time if your answer is not helpful and does nothing.

Somehow the audio recording example is hidden in the FFT script. Weird that it is not available in audio and their example on using the Mic Array is a joke, and absolutely nothingness in the Maixpy documentation. You could look into Maixduino, in their Speech recognition example, too.