Simple OSC input to DMX output
Posted: Mon Jul 16, 2018 4:07 pm
Hi,
I'm having trouble understanding the various indirections in getting a straight OSC to DMX translation going. I'm using an Enttec DMXUSB Pro controller on Linux, and connected is a Eurolite LED RGB PAR 56 with address 1. I want to be able to control three channel of RGB from my own application, sending OSC commands to QLC+.
What I did:
- in Inputs/Outputs, activate 'Output' for Plugin 'DMX USB', Device '1: DMX USB PRO - DMX Output 1'.
- in Fixtures, add Eurolite 'LED PAR 56 RGB DMX' (universe 1, address 001-003)
This allows me to set the RGB level manually in the 'Simple Desk' (I have to use strips 2, 3, 4 instead of 1, 2, 3) though)
Now the obstacle is getting the application to pass on OSC information.
Again in 'Inputs/Outputs', I activate 'Input' for Plugin 'OSC', Device '1: 127.0.0.1'. I keep the standard port 7700. When I send any OSC message from my program, say [ "/0/dmx/1", 0.5f ], I can see the 'Packets received' count going up after refreshing the window. So I'm sending to the right socket. But nothing is mapped to the DMX output.
Next, I tried to understand the meaning of 'Profile' and the weird channel numbers. I concluded that QLC+ is not passing on OSC messages to the output without a particular mapping, and that there are intermediate arbitrary channel numbers, used by a profile. So I create a new profile Manifacturer 'Foo' Model 'Bar' Type 'OSC'. I use auto-detection to receive my OSC message. This gives me Channel '45746' (???) Name '/0/dmx/1', Type 'Button'. I change this to 'Slider'. I activate the profile. I send OSC messages. Nothing happens.
I go to 'Virtual Console', and add a slider. I use auto-detect, send my message again. It's recognised as Input Universe '1: Foo Bar' and Input Channel '45746: /0/dmx/1'. I switch to Level Mode, and select Name 'LED PAR 56 DMX' Type 'Color Changer', I open the tree and check the box for the '2: Green' channel (for example). Range reads 000 - 255. I switch to 'Operate Mode'. I send OSC messages. The slider in the 'Virtual Console' moves to the correct positions. Nothing seems to be sent to the DMX output.
So in summary:
- I can control the RGB levels from the GUI in 'Simple Desk'
- I can control the visual appearance of the slider in 'Virtual Console' from OSC
- I can't seem to control the RGB levels from OSC
Thanks,
..h.h..
I'm having trouble understanding the various indirections in getting a straight OSC to DMX translation going. I'm using an Enttec DMXUSB Pro controller on Linux, and connected is a Eurolite LED RGB PAR 56 with address 1. I want to be able to control three channel of RGB from my own application, sending OSC commands to QLC+.
What I did:
- in Inputs/Outputs, activate 'Output' for Plugin 'DMX USB', Device '1: DMX USB PRO - DMX Output 1'.
- in Fixtures, add Eurolite 'LED PAR 56 RGB DMX' (universe 1, address 001-003)
This allows me to set the RGB level manually in the 'Simple Desk' (I have to use strips 2, 3, 4 instead of 1, 2, 3) though)
Now the obstacle is getting the application to pass on OSC information.
Again in 'Inputs/Outputs', I activate 'Input' for Plugin 'OSC', Device '1: 127.0.0.1'. I keep the standard port 7700. When I send any OSC message from my program, say [ "/0/dmx/1", 0.5f ], I can see the 'Packets received' count going up after refreshing the window. So I'm sending to the right socket. But nothing is mapped to the DMX output.
Next, I tried to understand the meaning of 'Profile' and the weird channel numbers. I concluded that QLC+ is not passing on OSC messages to the output without a particular mapping, and that there are intermediate arbitrary channel numbers, used by a profile. So I create a new profile Manifacturer 'Foo' Model 'Bar' Type 'OSC'. I use auto-detection to receive my OSC message. This gives me Channel '45746' (???) Name '/0/dmx/1', Type 'Button'. I change this to 'Slider'. I activate the profile. I send OSC messages. Nothing happens.
I go to 'Virtual Console', and add a slider. I use auto-detect, send my message again. It's recognised as Input Universe '1: Foo Bar' and Input Channel '45746: /0/dmx/1'. I switch to Level Mode, and select Name 'LED PAR 56 DMX' Type 'Color Changer', I open the tree and check the box for the '2: Green' channel (for example). Range reads 000 - 255. I switch to 'Operate Mode'. I send OSC messages. The slider in the 'Virtual Console' moves to the correct positions. Nothing seems to be sent to the DMX output.
So in summary:
- I can control the RGB levels from the GUI in 'Simple Desk'
- I can control the visual appearance of the slider in 'Virtual Console' from OSC
- I can't seem to control the RGB levels from OSC
Thanks,
..h.h..