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
greggibson  
#1 Posted : Friday, September 3, 2021 12:08:32 PM(UTC)
greggibson

Rank: Advanced Member

Groups: Registered
Joined: 3/23/2020(UTC)
Posts: 135
United States
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
thanks 2 users thanked greggibson for this useful post.
SpeakeasyAV on 9/3/2021(UTC), LelandBest on 9/3/2021(UTC)
cchhita  
#2 Posted : Friday, September 3, 2021 12:10:52 PM(UTC)
cchhita

Rank: Member

Groups: Registered
Joined: 4/14/2020(UTC)
Posts: 16
United States
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!
mgrayeb  
#3 Posted : Friday, September 3, 2021 12:19:18 PM(UTC)
mgrayeb

Rank: Advanced Member

Groups: Registered
Joined: 3/3/2018(UTC)
Posts: 178

Thanks: 80 times
Was thanked: 7 time(s) in 7 post(s)
+1
LelandBest  
#4 Posted : Friday, September 3, 2021 12:55:18 PM(UTC)
LelandBest

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)
+1
jwidgren  
#5 Posted : Friday, September 3, 2021 12:57:47 PM(UTC)
jwidgren

Rank: Newbie

Groups: Registered
Joined: 10/8/2020(UTC)
Posts: 1
United States
Location: Overland Park, KS

Originally Posted by: greggibson Go to Quoted Post
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
George E. Kennedy, Jr.  
#6 Posted : Friday, September 3, 2021 1:35:37 PM(UTC)
George E. Kennedy, Jr.

Rank: Newbie

Groups: Registered
Joined: 7/24/2021(UTC)
Posts: 2
United States
Location: Washington, DC

+1
Guycochran  
#7 Posted : Friday, September 3, 2021 1:41:40 PM(UTC)
Guycochran

Rank: Newbie

Groups: Registered
Joined: 2/21/2021(UTC)
Posts: 2
United States
Location: Seattle

Thanks: 2 times
+1
stigaard  
#8 Posted : Friday, September 3, 2021 2:40:50 PM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 493
Man
Denmark
Location: Copenhagen, Denmark

Thanks: 378 times
Was thanked: 100 time(s) in 79 post(s)
+1
doggy  
#9 Posted : Friday, September 3, 2021 3:55:43 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Originally Posted by: greggibson Go to Quoted Post
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)
john-at-heretorecord  
#10 Posted : Friday, September 3, 2021 6:48:45 PM(UTC)
john-at-heretorecord

Rank: Newbie

Groups: Registered
Joined: 7/16/2021(UTC)
Posts: 3
Sweden
Location: Malmö

Was thanked: 6 time(s) in 3 post(s)
+1
thanks 1 user thanked john-at-heretorecord for this useful post.
greggibson on 9/3/2021(UTC)
vika  
#11 Posted : Friday, September 3, 2021 6:57:17 PM(UTC)
vika

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
thanks 1 user thanked vika for this useful post.
greggibson on 9/3/2021(UTC)
doggy  
#12 Posted : Friday, September 3, 2021 7:13:10 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Originally Posted by: cchhita Go to Quoted Post

You can increment using GT Title for Scoreboards, so having the same syntax as that would be great!


Who says it doesn't ?
cchhita  
#13 Posted : Friday, September 3, 2021 10:38:38 PM(UTC)
cchhita

Rank: Member

Groups: Registered
Joined: 4/14/2020(UTC)
Posts: 16
United States
Location: Dallas, TX

Thanks: 5 times
Originally Posted by: doggy Go to Quoted Post

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
greggibson  
#14 Posted : Friday, September 3, 2021 11:40:03 PM(UTC)
greggibson

Rank: Advanced Member

Groups: Registered
Joined: 3/23/2020(UTC)
Posts: 135
United States
Location: Washington, DC

Thanks: 41 times
Was thanked: 25 time(s) in 17 post(s)
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: greggibson Go to Quoted Post
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
doggy  
#15 Posted : Saturday, September 4, 2021 1:04:01 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Originally Posted by: greggibson Go to Quoted Post
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: greggibson Go to Quoted Post
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
thanks 2 users thanked doggy for this useful post.
stigaard on 9/4/2021(UTC), cchhita on 9/4/2021(UTC)
clafarge  
#16 Posted : Saturday, September 4, 2021 1:39:48 AM(UTC)
clafarge

Rank: Advanced Member

Groups: Registered
Joined: 5/27/2017(UTC)
Posts: 77
Man
United States
Location: Greater St Louis Area

Thanks: 64 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.
doggy  
#17 Posted : Saturday, September 4, 2021 2:20:33 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Originally Posted by: greggibson Go to Quoted Post

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).
thanks 1 user thanked doggy for this useful post.
cchhita on 9/4/2021(UTC)
greggibson  
#18 Posted : Saturday, September 4, 2021 4:13:24 AM(UTC)
greggibson

Rank: Advanced Member

Groups: Registered
Joined: 3/23/2020(UTC)
Posts: 135
United States
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
doggy  
#19 Posted : Saturday, September 4, 2021 4:41:52 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Originally Posted by: greggibson Go to Quoted Post
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.
greggibson  
#20 Posted : Saturday, September 4, 2021 5:49:41 AM(UTC)
greggibson

Rank: Advanced Member

Groups: Registered
Joined: 3/23/2020(UTC)
Posts: 135
United States
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
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.