Visual Productions forum

Author Topic: OSC Command to control one channel of DMX  (Read 648 times)

February 25, 2018, 02:09:10 AM
Read 648 times

Tyler Ferrero

  • Member
  • *
  • Posts: 22
Hey,

After trying to preprogram a CueCore2 for an upcoming show, I've noticed strange behavior for an OSC command.

I made a OSC interface in TouchOSC on a ipad, the control is a fader that sends a value between 0 and 1 (also tried 0 and 255). CueCore2 can see and respond to the iPad.

If you send the command "/core/dmx/1 and <value from fader>" the CueCore2 will set the DMX value to zero if it is zero and 255 if it is anything else (instead of the value being sent).
If you send a command like "/DMXFader and <value from fader>" and use Show Control with OSC action trigger "OSC Message-> Change", it will control the DMX value correctly. (DMX->Set Channel->Control)

Shouldn't they behave the same?

-Tyler F

February 26, 2018, 10:13:20 AM
Reply #1

Guido Visser

  • Administrator
  • Member
  • *****
  • Posts: 227
    • Visual Productions
Hello Tyler,

The problem you are having with TouchOSC and the API in the CueCore2 is. The API expects an integer number and TouchOSC sends a floating point number. I can make the API support both in a next version.

Until then you can use show control as you have already discovered.

Best regards,
Guido
Guido Visser
Visual Productions BV

February 27, 2018, 07:49:04 AM
Reply #2

Tyler Ferrero

  • Member
  • *
  • Posts: 22
Thanks for the explanation, that makes more sense now.

 

SMF spam blocked by CleanTalk