This article discusses how developers can adjust volume settings for the render device (speaker).
Important: It is not recommended that you set a game default speaker volume that is above the Vivox default speaker volume. The Vivox default speaker volume applies no amplification or attenuation to the render signal. Any volume setting that is higher than the Vivox default might cause distortion. A game could occasionally allow players to set the speaker volume above Vivox's default, but it is never recommended that the game default is above Vivox's default.
Core
Volume range is from 0 to 100 inclusive, with 50 being the default (no adjustment to the signal). Each step away from 50 is equivalent to +/- 1 dB. A setting of 0 mutes the signal instead of attenuating by 50 dB.
Volume settings
Value | Gain | Result |
50 | 0 dB (no change) | No amplification or attenuation is applied to the render signal received by the Vivox servers. The received data is rendered at the same volume that was received by the SDK. |
100 | +50 dB | Amplify the signal by 50 dB. |
1 | -49 dB | Attenuate the signal by 49 dB. |
0 | -Infinity dB | Completely silence the signal. This is better done through muting commands. |
To offer users the ability to boost the audio signal above what was received, provide some render volume settings over 50. Although the Vivox API supports up to +50 dB of amplification, this easily causes clipping. It is not recommended that you allow users to apply that much boost. For example, if the user sets the OS speaker volume to 100%, and then applies +20 dB boost through the voice settings, they will probably be rendering highly distorted speech.
Suggested ranges
Range | Default | Result |
[0, 50] | 50 | No attenuation is applied to the render signal received by the Vivox servers. The received data is rendered at or below the same volume that was received by the SDK. |
[0, 60] | 50 | A +10 dB boost is possible, which would correspond to a doubling in perceived loudness. |
[20, 70] | 50 | Reduced to the effective usable range. Attenuation below -30 dB is generally not noticeable and amplification above +20 dB causes extreme distortion. |
Unity
Volume range is from -50 to 50 inclusive, with 0 being the default (no adjustment to the signal). Each step away from 0 is equivalent to +/- 1 dB. A setting of -50 mutes the signal instead of attenuating by 50 dB.
Volume settings
Value | Gain | Result |
0 | 0 dB (no change) | No amplification or attenuation is applied to the render signal received by the Vivox servers. The received data is rendered at the same volume that was received by the SDK. |
50 | +50 dB | Amplify the signal by 50 dB. |
-49 | -49 dB | Attenuate the signal by 49 dB. |
-50 | -Infinity dB | Completely silence the signal. This is better done through muting commands. |
To offer users the ability to boost the audio signal above what was received, provide some render volume settings over 0. Although the Vivox API supports up to +50 dB of amplification, this easily causes clipping. It is not recommended that you allow users to apply that much boost. For example, if the user sets the OS speaker volume to 100%, and then applies +20 dB boost through the voice settings, they will probably be rendering highly distorted speech.
Suggested ranges
Range | Default | Result |
[-50, 0] | 0 | No attenuation is applied to the render signal received by the Vivox servers. The received data is rendered at or below the same volume that was received by the SDK. |
[-50, 10] | 0 | A +10 dB boost is possible, which would correspond to a doubling in perceived loudness. |
[-30, 20] | 0 | Reduced to the effective usable range. Attenuation below -30 dB is generally not noticeable and amplification above +20 dB causes extreme distortion. |
Unreal
Volume range is from -50 to 50 inclusive, with 0 being the default (no adjustment to the signal). Each step away from 0 is equivalent to +/- 1 dB. A setting of -50 mutes the signal instead of attenuating by 50 dB.
Volume settings
Value | Gain | Result |
0 | 0 dB (no change) | No amplification or attenuation is applied to the render signal received by the Vivox servers. The received data is rendered at the same volume that was received by the SDK. |
50 | +50 dB | Amplify the signal by 50 dB. |
-49 | -49 dB | Attenuate the signal by 49 dB. |
-50 | -Infinity dB | Completely silence the signal. This is better done through muting commands. |
To offer users the ability to boost the audio signal above what was received, provide some render volume settings over 0. Although the Vivox API supports up to +50 dB of amplification, this easily causes clipping. It is not recommended that you allow users to apply that much boost. For example, if the user sets the OS speaker volume to 100%, and then applies +20 dB boost through the voice settings, they will probably be rendering highly distorted speech.
Suggested ranges
Range | Default | Result |
[-50, 0] | 0 | No attenuation is applied to the render signal received by the Vivox servers. The received data is rendered at or below the same volume that was received by the SDK. |
[-50, 10] | 0 | A +10 dB boost is possible, which would correspond to a doubling in perceived loudness. |
[-30, 20] | 0 | Reduced to the effective usable range. Attenuation below -30 dB is generally not noticeable and amplification above +20 dB causes extreme distortion. |
Comments
0 comments
Article is closed for comments.