vMix Forums
»
General
»
General Discussion
»
shortcut to increase/decrease volume in increments
Rank: Advanced Member
Groups: Registered
Joined: 10/20/2016(UTC) Posts: 57 Location: Virginia-USA
Thanks: 5 times Was thanked: 6 time(s) in 4 post(s)
|
I was wondering if I can create a few shortcuts that increase/decrease audio by a set amount, say +/- 5db or 10 (value) or whatnot.
I've tried a few of the functions, but they seem to set and not have logic capabilities.
Thoughts?
Jon
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/3/2015(UTC) Posts: 323 Location: Chicago, IL
Thanks: 22 times Was thanked: 57 time(s) in 47 post(s)
|
A user left me this bit of information after I had gone looking for the same thing a while back. I have never implemented it, so if you get it to work, please post a followup and hopefully I can get it setup as well. It would be a huge help in my production. Hope it helps.
From User "Jairod"...
It is possible the audio fade, I do. Only Vmix 17 creates this audio fade, other versions have failed
In the section triggers its INPUT, you should stringing depending on whether you want to transition IN or OUT transition.
TRIGGER-------------FUNCTION-----INPUT------DURATION---DELAY---VALUE On transition OUT--Set volumen--your input----10--------------80--------100 On transition OUT--Set volumen--your input----10--------------80--------90 On transition OUT--Set volumen--your input----10--------------80--------80 On transition OUT--Set volumen--your input----10--------------80--------70 On transition OUT--Set volumen--your input----10--------------80--------60
- Change the values (DELAY) according to the speed of molten wishing - Change the values (VALUE) that amount of volume they want to get off - Add more to zero
ENJOY
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/7/2012(UTC) Posts: 2,636 Location: Canada Thanks: 33 times Was thanked: 506 time(s) in 475 post(s)
|
@ r5dad & Cpilcher
You can use a Shortcut to either raise or lower the volume in increments (similar to increasing or decreasing the score in a scoreboard XAML graphic) Function: SetVolume Value: +=5 (for example which represents 5% increase per button push but can be set anywhere between 0-100 depending on how many button pushes you want to do) Similarly, for decrease Value: -=5 (for a 5% decrease per button push)
Ice
|
2 users thanked IceStream for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/20/2016(UTC) Posts: 57 Location: Virginia-USA
Thanks: 5 times Was thanked: 6 time(s) in 4 post(s)
|
Wow, cleaning up and poking around on the forum I came across this thread. Sorry for the necro.
What I ended up doing in my application that remotely controls vmix is to setup effects with delays in between. It took me a while, but essentially I did the trigger suggestion from post #2, but in api function form. So I decrease by 5, pause 1, decrease by 5, pause 1, repeat about 10 times to ensure volume is all the way down.
Thanks for the help guys!
Jon
|
|
|
|
Rank: Member
Groups: Registered
Joined: 7/20/2018(UTC) Posts: 15 Location: Norway
Was thanked: 2 time(s) in 1 post(s)
|
Hi, I have successfully used the Function=SetVolume&Input=1&Value=-=2, but the other one (Value=+=2) gives an error (invalid parameters). How is this possible? Is it a bug?
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 8/31/2019(UTC) Posts: 1 Location: Zürich
|
Originally Posted by: ebjorno Hi, I have successfully used the Function=SetVolume&Input=1&Value=-=2, but the other one (Value=+=2) gives an error (invalid parameters). How is this possible? Is it a bug? same problem here, did you have a solutions? or is this still in work ....
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/21/2015(UTC) Posts: 324 Location: Cornwall, Ontario, Canada Thanks: 18 times Was thanked: 80 time(s) in 60 post(s)
|
Set volume can be set using a value from 0-100 that represents a percentage. as martin stated in another post/video how volume work. the volume slider values are calculated via a formula. eg. if you send an api command of http://127.0.0.1:8088/API/?Function=SetMasterVolume&Value=100. This sets the volume to 100%. if you then send an api command of http://127.0.0.1:8088/API/? in the response it returns at the bottom in the audio section. <audio> <master volume="100" muted="False" meterF1="0" meterF2="0" headphonesVolume="100"/> <busB volume="100" muted="False" meterF1="0" meterF2="0"/> </audio> if you send an api command of http://127.0.0.1:8088/API/?Function=SetMasterVolume&Value=50. This sets the volume to 50%. you get <audio> <master volume="6.25" muted="False" meterF1="0" meterF2="0" headphonesVolume="100"/> <busB volume="100" muted="False" meterF1="0" meterF2="0"/> </audio> You noticed the response is not <audio> <master volume="50" muted="False" meterF1="0" meterF2="0" headphonesVolume="100"/> <busB volume="100" muted="False" meterF1="0" meterF2="0"/> </audio> same is true for 25% you get. <audio> <master volume="0.390625" muted="False" meterF1="0" meterF2="0" headphonesVolume="100"/> <busB volume="100" muted="False" meterF1="0" meterF2="0"/> </audio> so -=5 and += won't work the way you would like.. and the reason you get the error. Originally Posted by: magichamlet Originally Posted by: ebjorno Hi, I have successfully used the Function=SetVolume&Input=1&Value=-=2, but the other one (Value=+=2) gives an error (invalid parameters). How is this possible? Is it a bug? same problem here, did you have a solutions? or is this still in work ....
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2017(UTC) Posts: 189 Thanks: 1 times Was thanked: 52 time(s) in 42 post(s)
|
Instead of +=5 try: %20%3D5 Function=SetVolume&Input=1&Value=%20%3D5
Instead of -=5 try: -%3D5 Function=SetVolume&Input=1&Value=-%3D5
Basically + - = chars are encoded for URL.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 7/20/2018(UTC) Posts: 15 Location: Norway
Was thanked: 2 time(s) in 1 post(s)
|
Originally Posted by: MartLeib Instead of +=5 try: %20%3D5 Function=SetVolume&Input=1&Value=%20%3D5
Instead of -=5 try: -%3D5 Function=SetVolume&Input=1&Value=-%3D5
Basically + - = chars are encoded for URL. Thanks for the suggestion, it got me thinking! SOLUTION:= is 3D + is 2B - is 2DExamples: Function=SetPanX&Value=%2B%3D0.01&Input=24Pans input 24 to the right for 0.01 units Function=SetPanX&Value=%2D%3D0.01&Input=24Pans input 24 to the left for 0.01 units
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/26/2020(UTC) Posts: 1 Location: New York
|
Originally Posted by: desmar Set volume can be set using a value from 0-100 that represents a percentage. as martin stated in another post/video how volume work. the volume slider values are calculated via a formula. eg. if you send an api command of http://127.0.0.1:8088/API/?Function=SetMasterVolume&Value=100. This sets the volume to 100%. if you then send an api command of http://127.0.0.1:8088/API/? in the response it returns at the bottom in the audio section. <audio> <master volume="100" muted="False" meterF1="0" meterF2="0" headphonesVolume="100"/> <busB volume="100" muted="False" meterF1="0" meterF2="0"/> </audio> if you send an api command of http://127.0.0.1:8088/API/?Function=SetMasterVolume&Value=50. This sets the volume to 50%. you get <audio> <master volume="6.25" muted="False" meterF1="0" meterF2="0" headphonesVolume="100"/> <busB volume="100" muted="False" meterF1="0" meterF2="0"/> </audio> You noticed the response is not <audio> <master volume="50" muted="False" meterF1="0" meterF2="0" headphonesVolume="100"/> <busB volume="100" muted="False" meterF1="0" meterF2="0"/> </audio> same is true for 25% you get. <audio> <master volume="0.390625" muted="False" meterF1="0" meterF2="0" headphonesVolume="100"/> <busB volume="100" muted="False" meterF1="0" meterF2="0"/> </audio> so -=5 and += won't work the way you would like.. and the reason you get the error. Originally Posted by: magichamlet Originally Posted by: ebjorno Hi, I have successfully used the Function=SetVolume&Input=1&Value=-=2, but the other one (Value=+=2) gives an error (invalid parameters). How is this possible? Is it a bug? same problem here, did you have a solutions? or is this still in work .... I also have a problem when I use VMix Api. Anyone can help me to figure this out? Thank you
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
shortcut to increase/decrease volume in increments
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