Change Default OSC Output Prefix

12 views
Skip to first unread message

Matt Frame

unread,
Jul 4, 2025, 4:28:20 PMJul 4
to Lightjams
Hello!

I apologize if I missed this in the documentation or another post but on the OSC and DMX Lighting page under section 5 it states that the prefix can be configured. I understand that there are Extra Outs to send custom messages but I have two questions.

1. Can these extra outs be mapped to an attribute like a patched OSC out message?
2. If not, can the default prefix for mapped OSC outputs be changed to a custom message?

I feel like its easier for me to control the value of the outbound OSC message when I can control it via a power source on a grid.

Example:
Default: /lj/osc/0
Custom: /eye/calibrate/0

Thank you!

Matt Frame

unread,
Jul 5, 2025, 4:51:46 PMJul 5
to Lightjams
I think I figured out how the intended method is.

1. Create a 1x1 grid.
2. Add Power Source
3. Use osc.send(Channel Custom Prefix Number, use global slider or grid on activated)
4. Set attribute ID for 1x1 grid.
5. Activate grid or control channel using global slider.

Mathieu

unread,
Jul 7, 2025, 10:03:25 AMJul 7
to Lightjams
Hi,

I'm glad to know you've figured it out!

1. Can these extra outs be mapped to an attribute like a patched OSC out message?
Extra osc outputs can only be sent with the osc.send function. 

2. If not, can the default prefix for mapped OSC outputs be changed to a custom message?
Yes, you specify the full address when configuring the extra OSC outputs. The prefix is only used for the inputs.

A note about the osc.send function. It only send a OSC message when one of the value to be sent actually changes. So if you have osc.send(0, 100), the value 100 will only be sent once, even if you deactivate and reactivate the grid. 
Reply all
Reply to author
Forward
0 new messages