This article discusses how developers can adjust volume settings for the capture device (microphone).
Important: It is not recommended that you set a game default microphone volume above the Vivox default microphone volume. The Vivox default microphone volume applies no amplification or attenuation to the microphone signal. Any volume setting higher than the Vivox default might cause distortion. A game could occasionally allow players to set the microphone 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 microphone signal received from the OS. The microphone data transmitted is 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 their microphones above what the OS setting is, provide some microphone 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 mic volume to 100%, and then applies +20 dB boost through the voice settings, they will probably be transmitting highly distorted speech.
Suggested ranges
Range | Default | Result |
[0, 50] | 50 | No amplification or attenuation is applied to the microphone signal received from the OS. The microphone data transmitted is 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 microphone signal received from the OS. The microphone data transmitted is 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 their microphones above what the OS setting is, provide some microphone 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 mic volume to 100%, and then applies +20 dB boost through the voice settings, they will probably be transmitting highly distorted speech.
Suggested ranges
Range | Default | Result |
[-50, 0] | 0 | No amplification or attenuation is applied to the microphone signal received from the OS. The microphone data transmitted is 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 microphone signal received from the OS. The microphone data transmitted is 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 their microphones above what the OS setting is, provide some microphone 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 mic volume to 100%, and then applies +20 dB boost through the voice settings, they will probably be transmitting highly distorted speech.
Suggested ranges
Range | Default | Result |
[-50, 0] | 0 | No amplification or attenuation is applied to the microphone signal received from the OS. The microphone data transmitted is 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.