vMix Forums
»
General
»
General Discussion
»
Api commands: discontinuity in volume levels
Rank: Advanced Member
Groups: Registered
Joined: 9/12/2017(UTC) Posts: 37 Location: Germany
Thanks: 2 times Was thanked: 10 time(s) in 9 post(s)
|
Hello,
I´m currently facing a problem regarding volume parameters using the api. I´m building a controller that has a volume control. So I´m trying to read the current volume from the api and then increase or decrease that value when my encoder is turned. If the volume is set to 75% (-3dB) in vMix, and I read that value from the api it will return the value 75. However, when I now for example increase that value by +1 and write back 76 to the api the value afterwards will be 32% (-10dB). So for some reason there is a different scale for reading and writing the volume levels. Is that intended? How can I perform a calculation from one value to the other?
The commands I´m using are: "ACTS InputVolume 1" for reading the current volume, however it´s the same value when I use "XMLTEXT vmix/inputs/input[1]/@volume" and "FUNCTION SetVolume Value=75&Input=1" for writing the new volume level.
Hope someone can help me here.
Regards Yannick
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 570 Location: Manitoba Thanks: 118 times Was thanked: 313 time(s) in 178 post(s)
|
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Api commands: discontinuity in volume levels
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