> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# setPlayNewParticipantSound()

> Enables or disables the join sound in Prebuilt when new participants enter the call.

`setPlayNewParticipantSound(sound)`

✓ Prebuilt✗ Custom

Call this after `load()` or `join()`.

## Parameters

**sound** `boolean | number` *required*

* `true` — enable the join sound (default)
* `false` — disable the join sound
* `number` — play the sound only when the participant count is at or below this value (e.g. `5` plays the sound for small calls but suppresses it once the call grows)

## Return value

Returns `void`.

## Example

```javascript theme={null}
// Disable the join sound entirely
call.setPlayNewParticipantSound(false);

// Play sound only for calls with 5 or fewer participants
call.setPlayNewParticipantSound(5);
```

## See also

> [card] Events
>
> * [participant-joined](https://docs.daily.co/reference/daily-js/events/participant-events.md#participant-joined)

> [card] Guides
>
> * [Customizing Daily Prebuilt](https://docs.daily.co/docs/prebuilt/customizing-daily-prebuilt.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.