FUNCTION REFERENCE

audiorecorder.getaudiodata

Return recorded audio samples from an audiorecorder object.

Return recorded audio samples from an audiorecorder object.

Syntax

y = getaudiodata(r)

Syntax

y = r.getaudiodata()

Syntax

y = r.getaudiodata(datatype)

Returns captured samples with one column per channel in double (default), single, int16, int8 or uint8 format.

Example

r = audiorecorder(8000, 16, 1); if isobject(r); y = r.getaudiodata(); size(y, 2); end

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.