octave: Playback
33.3.1 Playback
---------------
The following methods are used to control player playback.
-- : play (PLAYER)
-- : play (PLAYER, START)
-- : play (PLAYER, LIMITS)
Play audio stored in the audioplayer object PLAYER without
blocking.
Given optional argument start, begin playing at START samples in
the recording. Given a two-element vector LIMITS, begin and end
playing at the number of samples specified by the elements of the
vector.
-- : playblocking (PLAYER)
-- : playblocking (PLAYER, START)
-- : playblocking (PLAYER, LIMITS)
Play audio stored in the audioplayer object PLAYER with blocking.
Given optional argument start, begin playing at START samples in
the recording. Given a two-element vector LIMITS, begin and end
playing at the number of samples specified by the elements of the
vector.
-- : pause (PLAYER)
Pause the audioplayer PLAYER.
-- : resume (PLAYER)
Resume playback for the paused audioplayer object PLAYER.
-- : stop (PLAYER)
Stop the playback for the audioplayer PLAYER and reset the relevant
variables to their starting values.
-- : isplaying (PLAYER)
Return true if the audioplayer object PLAYER is currently playing
back audio and false otherwise.