logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
MateoAnthony  
#1 Posted : Tuesday, December 17, 2019 7:05:45 PM(UTC)
MateoAnthony

Rank: Newbie

Groups: Registered
Joined: 12/17/2019(UTC)
Posts: 1
United States
Location: USA

Is anyone aware if there's any way to get an output of the Program audio meter? Either a video feed of the meter OR numerical data via scripting is acceptable...I just haven't found a way to get either yet. The reason we need this is because our audio mixer is about 10 feet away from our broadcast machine and the sound person needs to be able to monitor the audio levels that vMix is putting out.

Our original plan was to give the audio mixer a full-size monitor with a Multiview......but after doing some measurements, we really don't have space for such a monitor, so we'll have to use something like a little Raspberry Pi monitor or similar. Being able to JUST have the audio meter instead of the full Multiview would allow the meter to actually show up big enough to read easily on the small screen.vidmate mobdro word counter
MartLeib  
#2 Posted : Tuesday, December 17, 2019 7:39:31 PM(UTC)
MartLeib

Rank: Advanced Member

Groups: Registered
Joined: 2/23/2017(UTC)
Posts: 189
Estonia

Thanks: 1 times
Was thanked: 52 time(s) in 42 post(s)
You can get it from the API. It is XML feed from the URL http://127.0.0.1:8088/api
If you want to use Raspberry on the same network, use your local IP, for example, mine is at the moment http://192.168.1.139:8088/api - for ease of use, use static IP on the vMix machine or one day your router will give it a new local IP and you will be dealing with changes on the Raspberry side.

From that XML feed you can get the audio meters from the /vmix/audio/master XPath. It's output is:
<master volume="100" muted="False" meterF1="0.2775249" meterF2="0.2775249" headphonesVolume="100" />

meterF1 is the left channel
meterF2 is the right channel

Values are from 0 to 1.
0 being -∞ dB
1 being 0 dB

You do not need to account for the muted nor the volume values. meterF1 and meterF2 report true output.

XPaths for the individual meters:
/vmix/audio/master/@meterF1
/vmix/audio/master/@meterF2


I have a similar software for this use case, written in Node.JS and running on the Raspberry with the 3.5" screen. If you are interested, contact me: mart.leib.estonia@gmail.com
Users browsing this topic
Guest
Similar Topics
Video Output of Audio Meter ? (General Discussion)
by QuinnCade 2/4/2020 6:36:26 PM(UTC)
Video Output of Audio Meter!! (General Discussion)
by MaverickLan 12/20/2019 11:12:57 PM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.