> ## 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)`

<Badge color="green">{"✓"} Prebuilt</Badge> <Badge color="red">{"✗"} Custom</Badge>

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

## Parameters

<ParamField body="sound" type="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)
</ParamField>

## 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

<CardGroup>
  <Card title="Events" icon="bolt" iconType="solid">
    * [participant-joined](/reference/daily-js/events/participant-events#participant-joined)
  </Card>

  <Card title="Guides" icon="book-open" iconType="solid">
    * [Customizing Daily Prebuilt](/docs/prebuilt/customizing-daily-prebuilt)
  </Card>
</CardGroup>
