GNU Octave: Playback

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

#### 33.3.1 Playback

The following methods are used to control player playback.

Function File: play (player)
Function File: play (player, start)
Function File: play (player, limits)

  Play audio stored in the audioplayer object player without blocking. Given optional argument start, begin playing at start seconds in the recording. Given a two-element vector limits, begin and end playing at the number of seconds specified by the elements of the vector.

Function File: playblocking (player)
Function File: playblocking (player, start)
Function File: playblocking (player, limits)

  Play audio stored in the audioplayer object player with blocking. Given optional argument start, begin playing at start seconds in the recording. Given a two-element vector limits, begin and end playing at the number of seconds specified by the elements of the vector.

Function File: pause (player)

  Pause the audioplayer player.

Function File: resume (player)

  Resume playback for the paused audioplayer object player.

Function File: stop (player)

  Stop the playback for the audioplayer player and reset the relevant variables to their starting values.

Function File: isplaying (player)

  Return 1 if the audioplayer object playeris currently playing back audio and 0 otherwise.