pygame-community / pygame-ce

🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
https://pyga.me
862 stars 141 forks source link

Add clarifications about ranges in `mixer` docs #2738

Closed lispspb closed 4 months ago

lispspb commented 7 months ago

I think mixer module docs need some clarification. A value from 0 to the value of get_num_channels() is for [0-num_channels), while the value argument is between 0.0 and 1.0, volume in the range of 0.0 to 1.0 (inclusive) and a value from 0.0 to 1.0 representing the volume mean [0.0-1.0]. Should it be "from x to y (inclusive/exclusive)" everywhere?

Starbuck5 commented 5 months ago

I disagree that the "0.0 -1.0" range needs clarification for volume.