Playback (GNU Octave (version 5.1.90))

Next: Player Properties, Up: Audio Player [Contents][Index]

#### 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.