Capture stereo audio from the device's audio input, such as the microphone.
The block outputs the left and right audio channels as an N-by-2 array of int16 values. The Frame size (samples) parameter determines value of N.
If the model has trouble with the audio quality, run the model in External mode as described in Tune Parameters and Monitor Data in Model Running on Android Devices. While the model is running in External mode, make moderate adjustments to the value of Queue duration (seconds) parameter until the audio improves.
During simulations without hardware, this block outputs zeros. See Block Produces Zeros or Does Nothing in Simulation.