getVolume()
Return how loud the sample is.
audiosample.getVolume()
Parameters
audiosample.getVolume(voice=0)
| Parameter | Type | Default | Description |
|---|---|---|---|
voice |
int |
0 |
Which voice to read, from 0 to one less than the number of voices. |
Returns
return volume
| Value | Type | Description |
|---|---|---|
| volume | int |
How loud the sample is, from 0 to 127; None if an error occurs. |