Open 5H4D0W-X opened 3 weeks ago
this is probably a duplicate of #1888 (though feedback there is probably a good idea)
This issue focuses on the impulse aspect of the nodes, which #1888 doesn't (although Cyro did comment about impulses on that issue). Of course I don't mind if this is closed in favor of #1888 or vice versa
This one feels more complete, I would rather keep this one.
Is your feature request related to a problem? Please describe.
OSC works by sending a value when a state changes. Since Resonite represents OSC as constant values that are written to on state change, some applications of OSC are currently difficult to implement in resonite, such as
Describe the solution you'd like
OSC Port Events Node:
OSC_Handler
input/globalRootPath
input, filters incoming messages to those that are addressed to a path underneath this one (for example to only receive messages addressed to/oscControl/buttons/
)OnReceived
call outputMessage
output (string, can be parsed manually)Path
output, the path of the message’s target valueArgumentIndex
output, the target argument index of the messageType
output, the type of the value in the message (such as float)OSC Path Events<T> Node:
OSC_Handler
input/globalPath
input, filters messages for path like an OSC_ValueArgumentIndex
input, determines the argument index to receive updates forOnReceived
call outputMessage
output (direct value depending on the generic type overload of the node)Send OSC<T> Node:
OSC_Sender
input/globalPath
input, path to send toArgumentIndex
input, argument index to send toMessage
input, value to send (type depends on node overload)Send
call inputOnSent
call outputOnFailed
call outputDescribe alternatives you've considered
N/A
Additional Context
No response
Requesters
ShadowX