Python record audio from microphone online. Each chunk in this example has 1024 samples corresponding .