Visual Productions forum

Author Topic: Enter button as a OSC action  (Read 316 times)

September 15, 2023, 11:40:03 AM
Read 316 times

Mark van der Meulen

  • Member
  • *
  • Posts: 13
Goodmorning everyone,
I would like to know if it would be possible to add the physical enter button of a keyboard to an action.

Goal is to confirm the replacement of a preset in Cuelux Pro by OSC on a Ipad, The confirmation works when using the physical key but not with the Dashboard Command Enter, There seems to be a difference between those keys

Any idea on how to achieve this?
Thanks in advance

September 18, 2023, 12:59:28 PM
Reply #1

Julien Levaufre

  • Administrator
  • Member
  • *****
  • Posts: 3089
    • www.visualproductions.nl
You can control the enter button of Cuelux pro with an action.
To do that create an action in an OSC action list.
Then add a task "dashboard command" and select "enter" as "feature" and control as "function".
For the trigger, your osc message needs to include boolean argument send "on" when you press the button and "off" when you release it.
Do not forget to also select "on change" for the flank.

I hope this will help you in your project,
Enjoy ;)

Julien Levaufre
Visual Productions BV

September 27, 2023, 02:48:14 PM
Reply #2

Mark van der Meulen

  • Member
  • *
  • Posts: 13
Hi Julien,
That does not entirly what i would like to achive: I would like to confirm the popup message for replacing a preset in the palletgrid.
The enter button in the function you described act as a confirmation of the programmer but not as confirmation for the record method popup, Therefore your solution does not work for me unfortunatly. The enter button on my computer does confirm the popup, thats why i wrote that there seems to be a difference between the two enter buttons.
Any other suggestions?
And a second question: is there a list of default osc commands for Cuelusx Pro?

September 27, 2023, 04:51:11 PM
Reply #3

Bootsy van der Zande

  • Administrator
  • Member
  • *****
  • Posts: 576
Hi Mark,

I'm afraid there is no way to control the dialog using the memories. (unless you are into scripting, there is a "run program" in the "Special" task...)
Depending on what you want to do, it is possible to adjust the values inside the palette. For example, you can use the "Palette" task to change the colour of a palette.

Regarding the OSC commands, there is a list in the "API" section of the CueluxPro manual. I do not know how up-to-date the list is though... Is there any specific reason you are looking for it? If you can't find your answer, let me know and I will have a look at the code.

Greetings,
Bootsy

September 27, 2023, 07:40:46 PM
Reply #4

Mark van der Meulen

  • Member
  • *
  • Posts: 13
Hi Bootsy
Thanks for your reply.

The idea is this:
I'am programming a Cuelux Pro file for a venue in Rotterdam where they have 8 moving lights. They now have the possibility to manualy adjust the position of those moving lights by selecting them and adjust the pan and tilt values over two sliders in TouchOSC. Now the next step would be to store those new values into an allready existing pallet which is referenced in a cuelist. Basicly that works by controlling the record function and selecting the preset, however the record method popup just needs confirmation and thats the point where it gets intresting because the enter button from the dashboard does not interact with the record method pop up. I'am not very familiar with coding so i don't think that will be an option.

I'am interested in your approach on the pallet task because i do not know how you would use it, could you elaborate on that please?

Regarding the OSC command: there is no specific reason, however the one who programmed a few things before me used OSC triggers which we not specified in the OSC memories so i was looking into  default commands in Cuelux Pro.

September 28, 2023, 09:52:59 AM
Reply #5

Bootsy van der Zande

  • Administrator
  • Member
  • *****
  • Posts: 576
Hi Mark,

Using the "Palette" task (not the "palette dashboard grid") you can directly adjust the values of a palette. This is a global thing though, so if you want to control fixtures individually you will need a separate palette for them.
You do have to send the X and Y values in one message, I am not sure how that works with TouchOSC.

Greetings,
Bootsy

September 28, 2023, 10:31:29 AM
Reply #6

Mark van der Meulen

  • Member
  • *
  • Posts: 13
Goodmorning Bootsy,
Thanks for your explaination, due to the variation of positions this does not sound like a workable solution; the venue does not have operators that understand anything of programming so this might become a problem when the values are editted in a way that Cuelux does'nt understand ;)  So i think we are gonna skip this feature in programmning for now.

Thanks everyone for your help!!

September 29, 2023, 04:12:08 PM
Reply #7

Bootsy van der Zande

  • Administrator
  • Member
  • *****
  • Posts: 576
Hi Mark,

Perhaps I explained it wrong, (or I understand the situation wrong) but for the user it shouldn't be complicated if  setup correctly.

Perhaps another (fun) example; if you create a colour chase using two palettes. You can adjust the colour of the palette using an OSC message, Kiosc has colour picker elements, if you send that to CueluxPro and use the "Palette - Control" task you can modify the colours of your palettes and thus chase.  Makes it a lot more dynamic (and saves a lot of playbacks and programming)

Greetings,
Bootsy

 

SMF spam blocked by CleanTalk