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
davesuemcbride  
#1 Posted : Thursday, August 8, 2013 5:00:31 PM(UTC)
davesuemcbride

Rank: Advanced Member

Groups: Registered
Joined: 5/28/2013(UTC)
Posts: 54
Location: USA

Thanks: 4 times
Was thanked: 3 time(s) in 3 post(s)
Hi, Re version 10.0.0.55, I'm having mixed success using 'SetVolume' on an audio input - a couple of questions:

- Is 'value' the parameter for setting the volume level, and if so what's the scale, for example '0 - 255', '0 - 32767', etc?
- Is 'duration' supported with 'SetVolume' to allow the audio to fade in and out over a period of milliseconds?
- Is there any dependency of the input being active? In my case this is background audio, so it'd never be the active input. By clearing the pause/restart/etc properties this seems to work well - basically I'd always be playing/pausing and setting volume of inactive input(s).
- Any way to query for current volume level of an input? Status XML provides whether input is muted or not, but not current volume level (was hoping to figure out scale from that ;)

Different question, but somewhat related:

- Is there a deterministic way to play and pause via 'PlayPause'? It seems to be designed as a toggle, but that means testing the current state before using it if there's any doubt. Any chance of 'value' being used for the desired status, like 1 for 'play', and 0 for 'pause'?

Thanks!
David
admin  
#2 Posted : Sunday, August 11, 2013 7:44:07 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,208
Man
Location: Gold Coast, Australia

Was thanked: 4288 time(s) in 1520 post(s)
Hi David,

The SetVolume range is from 0 to 100
For example:

?Function=SetVolume&Input=1&Value=50

There is no automated fading available, so it would need to be programmed with a timer of some kind.
There is currently no way to query the volume, if you only need to turn the volume on or off you can use AudioOn or AudioOff commands.

The next release will have seperate Play/Pause functions available.

Regards,

Martin
vMix
thanks 2 users thanked admin for this useful post.
davesuemcbride on 8/23/2013(UTC), asvtv on 1/9/2014(UTC)
Users browsing this topic
Guest (2)
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.