OSC Settings
Posted: Tue Apr 24, 2012 11:24
Hi!
I'm currently working on a project in VB.NET to control Resolume (and other applications) with MIDI. The VB-application sends commands to Resolume to select a deck and then start a clip. This was no problem at all with Resolume MIDI-mapping.
But when a clip has been started, the VB-app will also send commands to a DMX-controller, MIDI and a PLC to activate some effects (lighting, par, smoke, sound-samples, etc.). I want these effects to be activated when the clip has reached a certain time- / progressvalue. I first started by catching the MIDI value from the clipprogressvalue, but the resolution was not good enough (0-127 over 15 minutes). So i looked up OSC and designed an UDP-server to catch the OSC-value "/layer4/video/position/values"; this was much better (32-bit float over 15 minutes). While playing the clip i noticed that the returned OSC-value is delayed with the actual value in Resolume. I think the problem is that the messages are sent at such a high frequency, the server can't handle the messages at the incoming message interval.
A great solution would be:
- Variable OSC-interval in Resolume in ms.
- A deadband for each int or float OSC value
- Time elapsed in minutes, seconds, 1/100 seconds for MIDI (eg.: #1/10=minutes, #1/11=seconds, etc. in values of 0-127)
Further more: by default ALL OSC-outputvalues are activated in Resolume. Please implement a button so all these messages can be disabled.
Dennis.
I'm currently working on a project in VB.NET to control Resolume (and other applications) with MIDI. The VB-application sends commands to Resolume to select a deck and then start a clip. This was no problem at all with Resolume MIDI-mapping.
But when a clip has been started, the VB-app will also send commands to a DMX-controller, MIDI and a PLC to activate some effects (lighting, par, smoke, sound-samples, etc.). I want these effects to be activated when the clip has reached a certain time- / progressvalue. I first started by catching the MIDI value from the clipprogressvalue, but the resolution was not good enough (0-127 over 15 minutes). So i looked up OSC and designed an UDP-server to catch the OSC-value "/layer4/video/position/values"; this was much better (32-bit float over 15 minutes). While playing the clip i noticed that the returned OSC-value is delayed with the actual value in Resolume. I think the problem is that the messages are sent at such a high frequency, the server can't handle the messages at the incoming message interval.
A great solution would be:
- Variable OSC-interval in Resolume in ms.
- A deadband for each int or float OSC value
- Time elapsed in minutes, seconds, 1/100 seconds for MIDI (eg.: #1/10=minutes, #1/11=seconds, etc. in values of 0-127)
Further more: by default ALL OSC-outputvalues are activated in Resolume. Please implement a button so all these messages can be disabled.
Dennis.