vMix Forums
»
General
»
Instant Replay
»
Replay Speed - Motorized Fader
Rank: Newbie
Groups: Registered
Joined: 2/2/2017(UTC) Posts: 9 Location: Australia
Was thanked: 1 time(s) in 1 post(s)
|
Hi All,
I have the X-Touch One. I can map all of the functions I want to control using Midi and Activators except the Motorized Fader. Is it possible to set the fader via a script? I can set it easily via activator for audio levels etc, but there is no activator for the Replay Speed. So, I can set the speed with the fader, but the fader can't be set via Activator directly. I'm hoping I could use a script to gather the current speed setting and then pass that to the fader.
Thoughts? Input? Code?
All are welcome,
Cheers, JB
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/2/2017(UTC) Posts: 9 Location: Australia
Was thanked: 1 time(s) in 1 post(s)
|
For those playing along at home, I found a way around my little problem. (For Now - Until replay speed becomes a selection in activators) I just wrote a script that takes the speed of the replay and applies it to a dummy audio inputs volume. I then use this inputs volume as an activator to my motorized fader. This is the code. The name of the dummy input is RSDUMMY Quote: dim speed As Double dim faderVolume As Integer
do while true
dim xml as string = API.XML() dim x as new system.xml.xmldocument x.loadxml(xml)
speed = (x.SelectSingleNode("//replay/@speed").Value)
speed = speed * 100
Console.WriteLine(speed)
faderVolume = cint(speed)
API.Function("SetVolume",Input:="RSDUMMY",Value:= faderVolume.tostring())
sleep(200) loop
Cheers, JB
|
1 user thanked Hallaman for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,246 Location: Belgium Thanks: 294 times Was thanked: 961 time(s) in 795 post(s)
|
consider using for value +=stepnumber -=stepnumber to increase/decrease from current values
There is also a replaysetspeed function
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 6/22/2021(UTC) Posts: 3
Thanks: 1 times
|
Thanks for the fix! Came looking for this exact question, so will be purchasing the X-Touch One now.
|
|
|
|
vMix Forums
»
General
»
Instant Replay
»
Replay Speed - Motorized Fader
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