@@ -443,7 +443,7 @@ The following file formats are supported
443
443
| :sl:`get the playback volume`
444
444
| :sg:`get_volume() -> value`
445
445
446
- Return a value from 0.0 to 1.0 representing the volume for this Sound.
446
+ Return a value from 0.0 to 1.0 (inclusive) representing the volume for this Sound.
447
447
448
448
.. ## Sound.get_volume ##
449
449
@@ -484,7 +484,7 @@ The following file formats are supported
484
484
| :sg:`Channel(id) -> Channel`
485
485
486
486
Return a Channel object for one of the current channels. The id must be a
487
- value from 0 to the value of ``pygame.mixer.get_num_channels() ``.
487
+ value from 0 up to, but not including, ``pygame.mixer.get_num_channels() ``.
488
488
489
489
The Channel object can be used to get fine control over the playback of
490
490
Sounds. A channel can only playback a single Sound at time. Using channels
@@ -589,7 +589,7 @@ The following file formats are supported
589
589
590
590
Set the volume (loudness) of a playing sound. When a channel starts to
591
591
play its volume value is reset. This only affects the current sound. The
592
- value argument is between 0.0 and 1.0.
592
+ value argument is in the range of 0.0 to 1.0 (inclusive) .
593
593
594
594
If one argument is passed, it will be the volume of both speakers. If two
595
595
arguments are passed and the mixer is in stereo mode, the first argument
@@ -615,7 +615,8 @@ The following file formats are supported
615
615
| :sl:`get the volume of the playing channel`
616
616
| :sg:`get_volume() -> value`
617
617
618
- Return the volume of the channel for the current playing sound. This does
618
+ Return the volume of the channel for the current playing sound
619
+ in the range of 0.0 to 1.0 (inclusive). This does
619
620
not take into account stereo separation used by
620
621
:meth: `Channel.set_volume `. The Sound object also has its own volume
621
622
which is mixed with the channel.
0 commit comments