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?
I think mixer module docs need some clarification.
A value from 0 to the value of get_num_channels()
is for [0-num_channels), whilethe value argument is between 0.0 and 1.0
,volume in the range of 0.0 to 1.0 (inclusive)
anda 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?