FUNCTION REFERENCE

audiorecorder.getplayer

Create an audioplayer object from an audiorecorder object's captured samples.

Create an audioplayer object from an audiorecorder object's captured samples.

Syntax

p = getplayer(r)

Syntax

p = r.getplayer()

Returns a new audioplayer initialized with the audio currently stored in r and its sample format.

Example

r = audiorecorder(8000, 16, 1); if isobject(r); p = r.getplayer(); class(p); end

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