« Back to Knowledge Base

vMix API Audio Levels

The Volume level in vMix is linked to amplitude and scales with the following formula:
 
Volume = 0 to 100 (used for UI volume bars)
Amplitude = 0 to 1 (used for API Meter and Volume values)
Decibels = 0 dB to -infinity
 
Volume = (Amplitude ^ 0.25) * 100
Amplitude = (Volume / 100) ^ 4
 
Example:

VolumeBar = 50
Amplitude = 0.0625
MeterF = 0.0625
VolumeXML = 6.25
 
Note: The meter values in XML are in Amplitude 0-1, while volume values in XML are in Amplitude 0-100

Last Updated: Monday, January 15, 2018 12:40:38 PM