FUNCTION REFERENCE

audioplayer.isplaying

Check whether an audioplayer object is currently playing.

Check whether an audioplayer object is currently playing.

Syntax

tf = isplaying(p)

Syntax

tf = p.isplaying()

Returns true while p is actively playing and false when stopped or paused.

Example

p = audioplayer(zeros(64,1), 8000); if isobject(p); p.isplaying(); end

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