public read() as AudioClip
Waits for a bounded PCM block; null means stopped and completely drained. Returned clips do not depend on the microphone lifetime. Never call this blocking method from a GUI event callback.
block = microphone.read(); if block is not null: print(block.frames)