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
Hallaman  
#1 Posted : Monday, June 7, 2021 10:58:48 PM(UTC)
Hallaman

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
Hallaman  
#2 Posted : Thursday, June 10, 2021 12:16:46 AM(UTC)
Hallaman

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
thanks 1 user thanked Hallaman for this useful post.
Chuck8 on 6/22/2021(UTC)
doggy  
#3 Posted : Thursday, June 10, 2021 1:21:51 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
consider using for value +=stepnumber -=stepnumber to increase/decrease from current values

There is also a replaysetspeed function
Chuck8  
#4 Posted : Tuesday, June 22, 2021 3:56:16 AM(UTC)
Chuck8

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.
Users browsing this topic
Guest
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.