record
Description
record(
records audio data from the as
)audiostreamer
device. Calling record
starts a new recording and deletes any recorded
data that was not previously read. By default, the function continuously records audio data
into the audiostreamer
buffer until you call pause
or
stop
. You can
read the recorded data from the buffer using the read
function.
record(
records only the specified number of samples of audio.as
,numSamples
)
Examples
Input Arguments
Version History
Introduced in R2025a