> For the complete documentation index, see [llms.txt](https://canardoux.gitbook.io/tau/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://canardoux.gitbook.io/tau/doc/pages/tau-api/player/set_volume.md).

# The τ Player API

setVolume()

## `setVolume()`

* Dart API: [setVolume()](https://github.com/Canardoux/tau/tree/6bd245d293bcf9a123677735835549585d32b2ee/doc/pages/tau-api/player/pages/flutter-sound/api/player/FlutterSoundPlayer/setVolume.html).

The parameter is a floating point number between 0 and 1. Volume can be changed when player is running. Manage this after player starts.

*Example:*

[Dart](/tau/doc/pages/tau-api/player/set_volume.md#dart)

[Javascript](/tau/doc/pages/tau-api/player/set_volume.md#javascript)

```

await myPlayer.setVolume(0.1);
```

```

        Lorem ipsum ...
```

\</div>
