step

System object: dsp.AudioRecorder
Package: dsp

Record audio from recording device

Syntax

AUDIO = step(H)
[AUDIO,Overrun] = step(H)

Description

AUDIO = step(H) reads one frame of audio samples from the selected audio input device.

[AUDIO,Overrun] = step(H) reads one frame of audio samples from the selected audio input device. The output Overrun indicates the number of samples dropped due to queue overrun since the last call to the step method. This syntax applies when you set the OutputNumOverrunSamples property to true.

Was this topic helpful?