vMix Forums
»
General
»
Feature Requests
»
Increase/Decrease Input Volume Incrementally via API
Rank: Advanced Member
Groups: Registered
Joined: 3/23/2020(UTC) Posts: 139  Location: Washington, DC Thanks: 41 times Was thanked: 25 time(s) in 17 post(s)
|
Could we please get a way to increment or decrement audio volume on an input using the API set amount? That way we could use shortcut keys to increase or decrease input volume. Specifically thinking Companion/StreamDeck buttons using dynamic variables to select an input to adjust.
Something like AdjustVolume&Value=2&Input=Dynamic1
For example would increase volume in 2db increments each button press.
Or
AdjustVolume&Value=-5&Input=Dynamic1
Would decrease volume 5db each button press.
Would be nice to have this for GAIN as well.
If this exists I'm happy to listen but seems a logical request. Please give it your +1!
Greg
|
 2 users thanked greggibson for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 4/14/2020(UTC) Posts: 17  Location: Dallas, TX Thanks: 5 times
|
+1 on this request! You can increment using GT Title for Scoreboards, so having the same syntax as that would be great!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/3/2018(UTC) Posts: 184
Thanks: 86 times Was thanked: 7 time(s) in 7 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/26/2017(UTC) Posts: 6 Location: Corunna, MI
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/8/2020(UTC) Posts: 1  Location: Overland Park, KS
|
Originally Posted by: greggibson  Could we please get a way to increment or decrement audio volume on an input using the API? Perhaps in 1db, 5db and 10db increments? That way we could use shortcut keys to increase or decrease input volume. Specifically thinking Companion/StreamDeck buttons using dynamic variables to select an input to adjust.
If this exists I'm happy to listen but seems a logical request. Please give it your +1!
Greg +1. A definite +1 on this request
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 7/24/2021(UTC) Posts: 2  Location: Washington, DC
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/21/2021(UTC) Posts: 3  Location: Seattle Thanks: 3 times
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/20/2015(UTC) Posts: 493   Location: Copenhagen, Denmark Thanks: 405 times Was thanked: 100 time(s) in 79 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,323  Location: Belgium Thanks: 299 times Was thanked: 979 time(s) in 812 post(s)
|
Originally Posted by: greggibson  Could we please get a way to increment or decrement audio volume on an input using the API? Perhaps in 1db, 5db and 10db increments? That way we could use shortcut keys to increase or decrease input volume. Specifically thinking Companion/StreamDeck buttons using dynamic variables to select an input to adjust.
If this exists I'm happy to listen but seems a logical request. Please give it your +1!
Greg Does function Setvolume, Input:Dynamic1 or number , Value: +=5 and -=5 or so not work ? (unless i misunderstand the request)
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 7/16/2021(UTC) Posts: 3  Location: Malmö Was thanked: 6 time(s) in 3 post(s)
|
|
 1 user thanked john-at-heretorecord for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 2/11/2017(UTC) Posts: 17 Location: Norway
Thanks: 2 times Was thanked: 1 time(s) in 1 post(s)
|
|
 1 user thanked vika for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,323  Location: Belgium Thanks: 299 times Was thanked: 979 time(s) in 812 post(s)
|
Originally Posted by: cchhita  You can increment using GT Title for Scoreboards, so having the same syntax as that would be great!
Who says it doesn't ?
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/14/2020(UTC) Posts: 17  Location: Dallas, TX Thanks: 5 times
|
Originally Posted by: doggy  Does function Setvolume, Input:Dynamic1 or number , Value: +=5 and -=5 or so not work ? (unless i misunderstand the request) Unless I am doing something wrong, it does not work for me.
It appears that SetVolume, Input: Dynamic1, +=5 works inside VMIX Shortcuts, but on a companion button it does not seem to work (using the API). Example: This does not work: SetVolume Value+=5&Input=DynamicInput1 This does: SetVolume Value=5&Input=DynamicInput1
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/23/2020(UTC) Posts: 139  Location: Washington, DC Thanks: 41 times Was thanked: 25 time(s) in 17 post(s)
|
Originally Posted by: doggy  Originally Posted by: greggibson  Could we please get a way to increment or decrement audio volume on an input using the API? Perhaps in 1db, 5db and 10db increments? That way we could use shortcut keys to increase or decrease input volume. Specifically thinking Companion/StreamDeck buttons using dynamic variables to select an input to adjust.
If this exists I'm happy to listen but seems a logical request. Please give it your +1!
Greg Does function Setvolume, Input:Dynamic1 or number , Value: +=5 and -=5 or so not work ? (unless i misunderstand the request) It works as an internal vMix Shortcut but doesn't seem to work as an API call. Can you clarify syntax for an API call? I'd be happy if this would work. SetVolume&Value=+=5&Input=1 doesn't work. This doesn't work for GAIN as a shortcut or an API call. Thanks Guy! greg
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,323  Location: Belgium Thanks: 299 times Was thanked: 979 time(s) in 812 post(s)
|
Originally Posted by: greggibson  Originally Posted by: doggy  Originally Posted by: greggibson  Could we please get a way to increment or decrement audio volume on an input using the API? Perhaps in 1db, 5db and 10db increments? That way we could use shortcut keys to increase or decrease input volume. Specifically thinking Companion/StreamDeck buttons using dynamic variables to select an input to adjust.
If this exists I'm happy to listen but seems a logical request. Please give it your +1!
Greg Does function Setvolume, Input:Dynamic1 or number , Value: +=5 and -=5 or so not work ? (unless i misunderstand the request) It works as an internal vMix Shortcut but doesn't seem to work as an API call. Can you clarify syntax for an API call? I'd be happy if this would work. SetVolume&Value=+=5&Input=1 doesn't work. This doesn't work for GAIN as a shortcut or an API call. Thanks Guy! greg in scripting Code:API.Function("SetVolume",Input:="3",Value:="-=5")
API.Function("SetVolume",Input:="3",Value:="+=5")
Web Code:Function=SetVolume&Input=3&Value=%2D%3D5
Function=SetVolume&Input=3&Value=%2B%3D5
We rarely use a shortcut on the streamdeck with vMix . Find it more flexible to use the website button and do a httprequest . (not stuck to one pc/streamdeck combination setup) http://127.0.0.1:8088/api/?Function=SetVolume&Input=3&Value=%2D%3D5 http://127.0.0.1:8088/api/?Function=SetVolume&Input=3&Value=%2B%3D5 (or paste directly in Browser) %2B is Plus sign %2D is minus sign %3D is the equals sign
|
 2 users thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/27/2017(UTC) Posts: 93   Location: Greater St Louis Area Thanks: 67 times Was thanked: 20 time(s) in 13 post(s)
|
+1 ... or possibly a AdjustVolume that takes a positive or negative integer to adjust the current value. ("Set" to set a value, Adjust to adjust the current value by the provided delta.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,323  Location: Belgium Thanks: 299 times Was thanked: 979 time(s) in 812 post(s)
|
Originally Posted by: greggibson  This doesn't work for GAIN as a shortcut or an API call.
For GAIN (FR was about VOLUME !) one will have to call a script with the shortcut  IncreaseGain.JPG (39kb) downloaded 12 time(s).
|
 1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/23/2020(UTC) Posts: 139  Location: Washington, DC Thanks: 41 times Was thanked: 25 time(s) in 17 post(s)
|
Guy thanks so much for all the great info. There are definitely some workarounds here, but I think the workarounds underscore the need for a few basic API calls like AdjustVolume and AdjustGain.
You are the master of vMix scripting no doubt!
Please give my request your +1.
greg
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,323  Location: Belgium Thanks: 299 times Was thanked: 979 time(s) in 812 post(s)
|
Originally Posted by: greggibson  thanks so much for all the great info. There are definitely some workarounds here, but I think the workarounds underscore the need for a few basic API calls like AdjustVolume and AdjustGain.
Please give my request your +1.
greg +1 But let us embrace the fact that vMix allows one to make workarounds until requests are granted or for specific custom personal usages.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/23/2020(UTC) Posts: 139  Location: Washington, DC Thanks: 41 times Was thanked: 25 time(s) in 17 post(s)
|
Guy - Absolutely, thanks again for a solution I can use right now.
greg
|
|
|
|
vMix Forums
»
General
»
Feature Requests
»
Increase/Decrease Input Volume Incrementally via API
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close