# audioplayer\_pause

Pause an audioplayer object.

## Syntax

* pause(playObj)

## Input argument

* playObj - an audioplayer object.

## Description

**pause** pauses an audioplayer object.

## Example

```matlab
signal = rand(2, 44100) - 0.5;
playObj = audioplayer(signal, 44100, 16)
play(playObj)
sleep(2)
pause(playObj)
delete(playObj)
playObj
```

## See also

[audioplayer](audioplayer), [stop](stop).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
