> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/newgen/api/functions/mc.playsound.md).

# mc.playSound

> **playSound**(`id`, `volume`, `pitch`): `void`

Plays a sound only you hear, not positioned in the world.

### Parameters

#### id

`string`

The sound id, e.g. "minecraft:entity.experience\_orb.pickup".

#### volume

`number`

The volume, 1 is normal.

#### pitch

`number`

The pitch, 1 is normal.

### Returns

`void`

### Remarks

Local only; the server does not see it. Unknown ids do nothing.

### See

[Sound ids](https://minecraft.wiki/w/Sounds.json/Java_Edition_values)
