Minim core ugens analysis |
|
Name | getGain |
Examples | None available |
Description | Returns the current gain. If a gain control is not available, this returns
0. Note that the gain is not the same thing as the level()
of an AudioBuffer! Gain describes the current volume of the sound in
decibels, which is a logarithmic, rather than linear, scale. A gain
of 0dB means the sound is not being amplified or attenuated. Negative
gain values will reduce the volume of the sound, and positive values
will increase it.
|
Syntax | getGain(); |
Returns | float: the current gain or zero if a gain control is unavailable. the gain is expressed in decibels. |
Usage | Web & Application |
Related | setGain ( ) shiftGain ( ) |