FUNCTION REFERENCE
playblocking
Play audio and wait for playback to finish.
Play audio and wait for playback to finish.
Syntax
playblocking(p)Syntax
playblocking(p, start)Syntax
playblocking(p, [start finish])The wait is cancellable. Playback is timed when the system has no output device.
Example
p = audioplayer(zeros(64,1), 8000); playblocking(p);These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.