# engineGetSounds (Client)

> Lists the named sounds in effect now: the game's, the packs' and the resources'.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Sound
- **URL**: https://wiki.mymp.gg/en/engineGetSounds

## Syntax

```lua
table engineGetSounds()
```

## Returns

A table with each sound's name as key and, as value, a table with `origin` (`engine` or `content`), `owner` (the name of the owning resource or pack, or `engine`) and `kind` (`file`, `wave` or `recording`).

## Example

```lua
for name, info in pairs(engineGetSounds()) do
    outputDebugString(("%s (%s, %s)"):format(name, info.kind, info.owner))
end
```

## See also

- [engineAddSound (Client)](https://wiki.mymp.gg/en/engineAddSound.md): Registers an audio file under a name, which playSound and playSound3D then play by that name.
- [engineRemoveSound (Client)](https://wiki.mymp.gg/en/engineRemoveSound.md): Removes a sound this resource registered with engineAddSound. If another registration of the same name exists, it takes over again.
