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
birgerh  
#1 Posted : Monday, January 27, 2020 1:49:59 AM(UTC)
birgerh

Rank: Newbie

Groups: Registered
Joined: 11/26/2018(UTC)
Posts: 6
Norway

Have an activator to post the current setting of gain to a midi device, just as InputVolume is giving the value of current fader position an eg InputGain may give the current level of gain. Useful when you have rotary knobs with LEDs (eg. Behringer X-touch) on the gain and you need to know the current gain settings without opening the audio settings in the vMix software.
TechnoSwiss  
#2 Posted : Monday, January 10, 2022 6:09:00 PM(UTC)
TechnoSwiss

Rank: Newbie

Groups: Registered
Joined: 1/10/2022(UTC)
Posts: 3
United States
Location: Oregon

+1 on this one, it's the one thing I'm missing to complete my setup on my XTouch Compact and seems like a pretty glaring omission to have the ability to add this as a shortcut, but not have access to it from an activator to get the setting back onto the rotary encoder display on the XTouch. When I load a saved show, everything syncs up on the XTouch, except for gain so then I have to go through, check the gain on each input and then manually set the XTouch to that level. Not something that gets messed with frequently, but is a bit of a pain. This post asking for this feature is 2 years old, and there's another from 5 years ago asking for it https://forums.vmix.com/...ortcuts-and-Activatiors, unless InputAudio is dual purpose and can report out Gain in addition to On/Off (which I haven't tried yet, but isn't in the documentation anywhere and I'm guessing is not the case)

Thanks.
jjbutler83  
#3 Posted : Friday, October 7, 2022 7:48:52 AM(UTC)
jjbutler83

Rank: Newbie

Groups: Registered
Joined: 7/29/2020(UTC)
Posts: 8
United States
Location: Florida

Was thanked: 4 time(s) in 1 post(s)
Also looking for this feature.
With how vMix has heavily evolved over the last couple of years, really surprised that this is still not available.

Also, there is no activator for Bus A-G to report sending to MASTER. Could also really use this and yes I am setting up a Behringer X-Touch Compact.

Setup is nearly perfect, just for these few missing activators.
What's funny about this is that both commands already exist in Shortcuts....

+1
WaltG12  
#4 Posted : Wednesday, February 1, 2023 6:20:15 PM(UTC)
WaltG12

Rank: Advanced Member

Groups: Registered
Joined: 7/4/2021(UTC)
Posts: 186
United States

Thanks: 5 times
Was thanked: 24 time(s) in 24 post(s)
+1
Bonbondotkom  
#5 Posted : Wednesday, August 23, 2023 3:11:39 PM(UTC)
Bonbondotkom

Rank: Advanced Member

Groups: Registered
Joined: 7/27/2022(UTC)
Posts: 31
Philippines

Thanks: 11 times
Was thanked: 1 time(s) in 1 post(s)
+1
TechnoSwiss  
#6 Posted : Tuesday, October 31, 2023 8:32:06 AM(UTC)
TechnoSwiss

Rank: Newbie

Groups: Registered
Joined: 1/10/2022(UTC)
Posts: 3
United States
Location: Oregon

The X-Touch Compact will actually run the LEDs as you turn the knobs, however the issue is how you get those in-sync with the gain setting when you first load up a saved Preset.

If you have a version of vMix that allows you to use the Scripting, I'd got a simple script you can run to sync the gain settings out to the X-Touch Compact.

The Channels multi-dim array contains the channel number of the control you want to set, and the name of the audio channel that you're wanting to sync the gain to. There might be a better way to just take a list of names and then query the channel from the settings XML file, but this works and gets be where I needed.

Quote:
'======================================
' Sync Gains Script
'======================================
' Name of each Input to get Gain value for
Dim Channels(,) As String = New String(,) {{"10", "Pulpit"}, {"11", "Spanish"}, {"12", "Wireless"}, {"13", "Choir"}, {"14", "Organ"}, {"15", "Piano"}, {"16", "Congregation"}, {"17", "Inst. - Rostrum"}}
'{"??", "Inst. - Piano"}

'State variables
Dim state as new system.xml.xmldocument
Dim CurrentGain As Double
Dim SetLED As Double

Console.WriteLine("Getting Gain(s)")

'=========Setup Midi Control=======
'Launch an application
Dim ExtApp As New ProcessStartInfo
ExtApp.FileName = "C:\Users\samuel\Downloads\sendmidi-windows-1.2.1\sendmidi.exe"
ExtApp.UseShellExecute = True
ExtApp.WindowStyle = ProcessWindowStyle.Hidden

'=========Get Current Volume========
'Current status
state.loadxml(API.XML())

Dim channel As Integer
For channel = 0 To Channels.GetUpperBound(0)
Dim Name As String = Channels(channel, 1)
Dim MIDICh As String = Channels(channel, 0)
Console.WriteLine(Name)
CurrentGain = (state.SelectSingleNode("//input[@title='" & Name & "']/@gainDb").Value)
Console.WriteLine(Name + " gain is set to : " + CurrentGain.ToString() + "dB")
SetLED = CurrentGain / 24 * 127
ExtApp.Arguments = "dev ""X-TOUCH COMPACT SendMIDI"" cc " & MIDICh & " " & SetLED.ToString()
Dim proc As Process = Process.Start(ExtApp)
Next

'Console.WriteLine(state.OuterXml)
Users browsing this topic
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.