FUNCTION REFERENCE

getaudiodata

Return captured audio samples as a column for each channel.

Return captured audio samples as a column for each channel.

Syntax

y = getaudiodata(r)

Syntax

y = getaudiodata(r, datatype)

Data types include double (default), single, int16, int8 and uint8. Use stop before reading to get the complete capture.

Example

r = audiorecorder(8000,16,1); y = getaudiodata(r);

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