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
Audioman  
#1 Posted : Thursday, April 20, 2017 9:46:35 AM(UTC)
Audioman

Rank: Member

Groups: Registered
Joined: 4/16/2017(UTC)
Posts: 13
Location: Italy

Was thanked: 1 time(s) in 1 post(s)
SetTransitionDuration shotcut works ???

Thanks.
DWAM  
#2 Posted : Thursday, April 20, 2017 10:45:05 AM(UTC)
DWAM

Rank: Advanced Member

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

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
This command "SetTransitionDuration" doesn't exist

What exists is SetTransitionDuration1, SetTransitionDuration2, SetTransitionDuration3, SetTransitionDuration4 which are used to change Transition Duration for Button 1,2, 3 and 4.

I suspect you want to trigger a transition effect and duration from your control panel.
What you should do is:

Function=Fade&Input=12&Duration=2000
or
Function=Slide&Input=12&Duration=500
or
Function=Merge&Input=12&Duration=630
or
Function=CrossZoom&Input=12&Duration=444
etc...

Guillaume
Audioman  
#3 Posted : Thursday, April 20, 2017 12:15:33 PM(UTC)
Audioman

Rank: Member

Groups: Registered
Joined: 4/16/2017(UTC)
Posts: 13
Location: Italy

Was thanked: 1 time(s) in 1 post(s)
DWAM wrote:
This command "SetTransitionDuration" doesn't exist

What exists is SetTransitionDuration1, SetTransitionDuration2, SetTransitionDuration3, SetTransitionDuration4 which are used to change Transition Duration for Button 1,2, 3 and 4.

I suspect you want to trigger a transition effect and duration from your control panel.
What you should do is:

Function=Fade&Input=12&Duration=2000
or
Function=Slide&Input=12&Duration=500
or
Function=Merge&Input=12&Duration=630
or
Function=CrossZoom&Input=12&Duration=444
etc...

Guillaume


I have specified shotcut, no API.

Certainly at the end there is a number, but via MIDI does not seem to work.

Use ControlChange but has no effect.
DWAM  
#4 Posted : Thursday, April 20, 2017 12:29:50 PM(UTC)
DWAM

Rank: Advanced Member

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

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Quote:
The following shortcut functions can be called either via a Shortcut or via the API.


Check the doc : http://www.vmix.com/help...utFunctionReference.html
Audioman  
#5 Posted : Thursday, April 20, 2017 12:50:57 PM(UTC)
Audioman

Rank: Member

Groups: Registered
Joined: 4/16/2017(UTC)
Posts: 13
Location: Italy

Was thanked: 1 time(s) in 1 post(s)
Ok.

Now, SetTransitionDuration1,2,3,4 shotcut via MIDI works ???

DWAM  
#6 Posted : Thursday, April 20, 2017 1:45:25 PM(UTC)
DWAM

Rank: Advanced Member

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

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Why do you want to define/change a vMix Button from your control panel when you can simply use your own button to trigger any transition and its duration?

SetTransitionEffect1,2,3,4 and SetTransitionDuration1,2,3,4 are only useful to change the settings of vMix Transition buttons. You don't need this to transition from your own control panel.

Quote:
Now, SetTransitionDuration1,2,3,4 shotcut via MIDI works ???

I don't know and I don't want to know as I don't think it is an appropriate way to do it. (and it's not the proper function as explained above). But I know it works with the API.

Let me give you an example.
Let's say you have a rotary midi button to define duration for transition, ok ?
Now I want duration = 2000 ms
You have to do the maths for converting midi value 127 = 2000, ok ? This works for durations from 0 to 2000 ms, ok ?
But what if I want 5000 ms or 8000 ms ?
You can't... because you have to define a max value. This is stupid, there is no max value in vMix...

So for example you decide max value is 10000ms. Why not? But why not more? So you do the maths... In the end with only 127 steps, your duration settings is very approximate: each midi value = 78ms. But how can you have a precise value of 250ms or 500 ms now ? What if I want to sync my transition effect to a musical tempo? You can't...

I will say it once more: working with the API is so much more powerful and easy!
Midi is perfect for some operations but it is a real limitation for so many other features in vMix.

Think about it
Audioman  
#7 Posted : Friday, April 21, 2017 3:53:31 AM(UTC)
Audioman

Rank: Member

Groups: Registered
Joined: 4/16/2017(UTC)
Posts: 13
Location: Italy

Was thanked: 1 time(s) in 1 post(s)
Not using the MIDI standard, you can send with the same protocol, any number, even 10,000 (exceeding the limit of 127), and many software they do.

Using APIs will be even more powerful, do not need midi bridge software or hardware cables, but accomplish what is my project, it is almost impossible, laborious, expensive in terms of computing power, etc etc.

The software I'm making is just a "practical GUI" that allows me to debug.
Which then can be used alone, is something else.

I want to make a "translator" (probably using an Arduino) that connects via USB (or wifi, or serial) the real-world control panels (eg Sony Broadcast, For-A etc.) and that use RS232-422 ports.

It is feasible, indeed I am doing it, and it also works.

Asking Arduino to make continuous calls to the APIs, divide the content etc etc, is too hard for the 16Mhz clock.

I tried, I avoided using it.

Different with MIDI, it works perfectly and with an absolutely imperceptible lag (<1 ms ?).

So I ask again: the MIDI shotcut for SetTransitionDuration1,2,3,4 works?

How to use ???

Using Control Change and sending 0 to 127 nothing happens, sending 0 to 10,000 equal.

Using the same code (parameters 0-127) the T-Bar works perfectly.

Thank you.
DWAM  
#8 Posted : Friday, April 21, 2017 4:11:25 AM(UTC)
DWAM

Rank: Advanced Member

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

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Ok

Quote:
Using Control Change and sending 0 to 127 nothing happens, sending 0 to 10,000 equal.

I just tried with a fader on the Akai Mini and it works yes

stevespaw  
#9 Posted : Friday, April 21, 2017 11:21:10 AM(UTC)
stevespaw

Rank: Advanced Member

Groups: Registered
Joined: 3/12/2015(UTC)
Posts: 482
Man
Location: Kansas City, MO USA

Thanks: 151 times
Was thanked: 75 time(s) in 57 post(s)
Audioman,
I am just curious, so is your goal to create an RS-422 (i.e. Sony Broadcast) to IP translator? Via Arduino?

The issue in my experience is that the protocols are hard to come by. They were secretive with even the VTR commands for edit controllers for a long time. I guess if you had access to all of these protocols for each if these panels this would be cool. How many of these are Serial control? Many that I have used are multi protocol. The returns and lights are driven by the head end system.

I look forward to hearing about your project.

Steve
Audioman  
#10 Posted : Saturday, April 22, 2017 4:05:02 AM(UTC)
Audioman

Rank: Member

Groups: Registered
Joined: 4/16/2017(UTC)
Posts: 13
Location: Italy

Was thanked: 1 time(s) in 1 post(s)
Correct, that's what I want to do, pretty much.

The correct translator would be "Sony" -> MIDI, but unfortunately some things are only present in APIs, so I think it will be mixed http/Midi.

I confirm that turning on the led is a response from the mainframe, and the same thing for the characters in the display, only a few things are displayed by default.

Finding commands is relatively easy, just have two rs232-> rs422 (485) converters, connect surface and mainframe to a PC, make routing with serial grabbing, and get each command sent and received on screen.

However, the VTR commands protocol is now in the public domain.
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.