SteffeyDev / atemOSC

Control ATEM video switchers over the network with OSC messages
http://www.atemosc.com
202 stars 32 forks source link

ATEM AUX problem. #117

Closed tomcie closed 5 years ago

tomcie commented 5 years ago

I'm not programmer. I'm testing your great app to ATEM control. It is excelent idea. I have problem With control AUXs output. My set is: ipad osctouch - mac pro with atemOSC and osceditor. My ATEM 4k 2 ME is 7.4. I can control all AUX but always it switchs only to input 1. My command is: /atem/aux/5 2 // it switch AUX5 for input 1 /atem/aux/1 3 // it switch AUX1 for input 1 etc.

I tried to find something about it in FAQ but with no succes. Could you help?

SteffeyDev commented 5 years ago

Try sending both float and int values, you may need to be sending float values here.

tomcie commented 5 years ago

How to make flat value? I use only touch efitor. I try put 5.0 instead 5 - no sucess. Coul you write me short example?

SteffeyDev commented 5 years ago

5.0 is float, that's what I would have tried. Can you get the logs from the atemOSC help menu and post them here?

tomcie commented 5 years ago

Sure [2019-01-25 15:46:00] Received OSC message: /atem/aux/1 5.0 Value: <OSCVal f 1.000000> [2019-01-25 15:46:01] Received OSC message: /atem/aux/1 6.0 Value: <OSCVal f 1.000000> [2019-01-25 15:46:03] Received OSC message: /atem/aux/1 5.0 Value: <OSCVal f 1.000000> [2019-01-25 15:46:04] Received OSC message: /atem/aux/1 6.0 Value: <OSCVal f 1.000000>

tomcie commented 5 years ago

I tried to change AUX 1 to 5 and 6 2 times

SteffeyDev commented 5 years ago

Ah I see the issue. Do you see it? You are sending the address “/atem/aux/1 6.0” with the value “1.00”, where you should be sending the address “/atem/aux/1” with a value of “6.00”. Are you using TouchOSC?

tomcie commented 5 years ago

Yes. Touch OSC on ipad

tomcie commented 5 years ago

Program and preview work fine, transition too.

SteffeyDev commented 5 years ago

Ok, download the Advanced Video Control TouchOSC file located here: https://github.com/danielbuechele/atemOSC/tree/master/samples

The AUX control in this template works, so just make yours look identical and it should work for you too

guitarzan2 commented 5 years ago

I am using atemOSC along with Osculator to control an ATEM TVS HD (1 ME). When trying to program the aux input source, I always reverts to black. Ex: /atem/aux/1 4 is what I'm putting in to the atemosc, 4 being an active video source. B ut the aux will only show black. Any advice? Your system is fantastic, by the way. Thank you!

sneat commented 5 years ago

@guitarzan2 what do the logs from the atemOSC help menu show? It sounds like you're sending the message to the address /atem/aux/1 4 with a value of 0, rather than sending a message to the address /atem/aux/1 with a value of 4.

guitarzan2 commented 5 years ago

[2019-04-04 19:08:57] Received OSC message: /atem/aux/1 4 Value: (null)

guitarzan2 commented 5 years ago
Screen Shot 2019-04-04 at 7 12 37 PM
sneat commented 5 years ago

You'll need to adjust the arguments so that you are sending a value of 4 to the address /atem/aux/1. Currently the atemOSC logs are showing that you are sending the whole thing to the address without a value (showing as null).

guitarzan2 commented 5 years ago

Okay. Still not working.

LOG: [2019-04-04 21:11:58] Received OSC message: /atem/aux/1 Value: <OSCVal i 1> [2019-04-04 21:11:58] Received OSC message: /atem/aux/1 Value: <OSCVal i 0>

Here's how I changed the argument.

4

I'm not giving up...

guitarzan2 commented 5 years ago

SOLVED. In the arguments window, simply put the source number in a pair of parentheses.

solved
sneat commented 5 years ago

I believe (I haven't really used OSCulator much) that your arg[4] before should actually be arg[1] being the 1st argument in the message. But glad you got it solved.