# 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](https://nelson-9.gitbook.io/Nelson/markdown/en/audio/audioplayer), [stop](https://nelson-9.gitbook.io/Nelson/markdown/en/audio/stop).

## 🕔 History

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