> For the complete documentation index, see [llms.txt](https://zypec.gitbook.io/particles/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zypec.gitbook.io/particles/effects/creating-effect/script-types/sound.md).

# Sound

This page was last updated for version v1.2.0

## Format

`play-sound [args]` or `sound [args]`

## Arguments

<table data-card-size="large" data-view="cards"><thead><tr><th>Arg</th><th>Description</th><th>Format</th><th>Default</th><th>Aliases</th></tr></thead><tbody><tr><td><code>name</code></td><td>sound name</td><td><code>name=&#x3C;STRING></code></td><td>*</td><td>*</td></tr><tr><td><code>client-side</code></td><td>plays sound only for the player if true</td><td><code>client-side=&#x3C;BOOLEAN></code></td><td>true</td><td>client</td></tr><tr><td><code>volume</code></td><td>sound volume</td><td><code>volume=&#x3C;FLOAT></code></td><td>1</td><td>*</td></tr><tr><td><code>pitch</code></td><td>sound pitch</td><td><code>pitch=&#x3C;FLOAT></code></td><td>1</td><td>*</td></tr><tr><td><code>category</code></td><td>sound category</td><td><code>category=&#x3C;STRING></code></td><td>*</td><td>*</td></tr></tbody></table>

## Examples

1. `sound [name=entity.arrow.hit_player,client-side=true,volume=0.1,pitch=2]`
2. `sound [name=minecraft:block.note_block.pling,client=false]`
