logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

4 Pages«<234
Options
Go to last post Go to first unread
DWAM  
#61 Posted : Tuesday, November 24, 2020 2:47:25 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,544
Man
France
Location: Bordeaux, France

Thanks: 210 times
Was thanked: 724 time(s) in 554 post(s)
Using SetPanX and SetPanY for PiP from a joystick

thanks 1 user thanked DWAM for this useful post.
Chris Daum on 11/25/2020(UTC)
Chris Daum  
#62 Posted : Tuesday, November 24, 2020 3:06:32 AM(UTC)
Chris Daum

Rank: Newbie

Groups: Registered
Joined: 11/20/2020(UTC)
Posts: 4
Man
Germany

Thanks: 3 times
Hi DWAM,

no, was fooling around with Panasonic, Ross and Analog Way Mixers :-)
Corona lead me to cope with those online and streaming tools...
which is fine but a new world to discover

thanks so far!

API.function("setpanX",Input:=2, Value:="+0.05")
just defined the final position of my image on X axis
but not to repeated steps by 0.05

doggy  
#63 Posted : Tuesday, November 24, 2020 3:22:20 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 2,512
Belgium
Location: Belgium

Thanks: 140 times
Was thanked: 450 time(s) in 370 post(s)
Originally Posted by: Chris Daum Go to Quoted Post
Hi DWAM,

no, was fooling around with Panasonic, Ross and Analog Way Mixers :-)
Corona lead me to cope with those online and streaming tools...
which is fine but a new world to discover

thanks so far!

API.function("setpanX",Input:=2, Value:="+0.05")
just defined the final position of my image on X axis
but not to repeated steps by 0.05



Value:="+=0.05"
thanks 1 user thanked doggy for this useful post.
Chris Daum on 11/25/2020(UTC)
DWAM  
#64 Posted : Tuesday, November 24, 2020 4:23:53 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,544
Man
France
Location: Bordeaux, France

Thanks: 210 times
Was thanked: 724 time(s) in 554 post(s)
Quote:
API.function("setpanX",Input:=2, Value:="+0.05")
just defined the final position of my image on X axis but not to repeated steps by 0.05

Just as Doggy said, it's all about the syntax !
Added my demo video for PoC and clues (about repetitive process)
thanks 1 user thanked DWAM for this useful post.
Chris Daum on 11/25/2020(UTC)
Chris Daum  
#65 Posted : Wednesday, November 25, 2020 11:36:36 PM(UTC)
Chris Daum

Rank: Newbie

Groups: Registered
Joined: 11/20/2020(UTC)
Posts: 4
Man
Germany

Thanks: 3 times
Thanks DWAM & doggy,

that helped again!

No I proceeded to the next step and combined my x-axis control with a
midi knob (KORG control Studio).

That works quite fine but the steps in the movement are a bit to coarse for
my taste.

a 0,005 step is cool.

Now my next thougt...
The midi knob sends "speed" information 0-127.
Is there a way to connect certain "speed" values with a position change?
e.g.
"speed" 68-127 step +0.005
"speed" 67-0 step -0.005

like:
"get value" MIDICC 1:13 (that´s the knob used)
for value =68-127, API.function("SetPanx", input:=xy, value:="+=0.005")
for value =67-0; API.function("SetPanx", input:=xy, value:="-=0.005")
DWAM  
#66 Posted : Wednesday, November 25, 2020 11:52:13 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,544
Man
France
Location: Bordeaux, France

Thanks: 210 times
Was thanked: 724 time(s) in 554 post(s)
I don't think Midi Control Change can handle value ranges like 0-63 or 64-128 (to be confirmed) when using the "shortcuts" interface in vMix.

However setting this knob to activate a "script" designed to allow speed control (with a "for" loop) would be my first idea to work on. This would even allow to set dynamic (linear or logarithmic) speeds according to the knob value...
Chris Daum  
#67 Posted : Thursday, November 26, 2020 12:05:35 AM(UTC)
Chris Daum

Rank: Newbie

Groups: Registered
Joined: 11/20/2020(UTC)
Posts: 4
Man
Germany

Thanks: 3 times
UserPostedImage
doggy  
#68 Posted : Thursday, November 26, 2020 12:15:48 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 2,512
Belgium
Location: Belgium

Thanks: 140 times
Was thanked: 450 time(s) in 370 post(s)
Originally Posted by: Chris Daum Go to Quoted Post
UserPostedImage


Script will not be able to read the MIDI codes

BTW preferably your question would have been better put in a separate post . Post was started as a way to show basic scripting examples to learn from not discuss various problems and wishes which obscure the useful posts.
Many people would look to the separate post to as many don't use scripts hence are not looking here to give advice on the scripting subject

Users browsing this topic
4 Pages«<234
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.