SNDMVOL
Root / Documentation / [.]
Created:
Set or get the master volume of all audio sources.
* Syntax
```sb4
SNDMVOL volume% {, fadeTime# }
volume% = SNDMVOL()
SNDMVOL OUT volume%
```
|* Parameter | Description |
| `volume%` | The master volume level. 0-127. |
| `fadeTime#` | Time (in seconds) spent fading to the set volume. 0-32767. Optional, default 0. |
* Examples
```sb4
'change the volume
SNDMVOL 64
```
```sb4
'fade all sound out for 2 seconds
SNDMVOL 0,2
```
No posts yet (will you be the first?)