Classes | External Control > OSC > Dispatchers

OSCMessagePatternDispatcher : OSCMessageDispatcher : AbstractWrappingDispatcher : AbstractDispatcher : Object

The default pattern matching dispatcher for OSCFunc and OSCdef.


OSCMessageDispatcher dispatches incoming OSC messages to matching functions, using pattern matching to see if regular expressions wildcards in the incoming message's address pattern match one of this dispatcher's OSCFuncs' paths. Normally users should not have to create or message instances of this class directly. For details on OSC pattern matching, see

Class Methods

Inherited class methods

Instance Methods

.value(msg, time, addr, recvPort)

Attempt to match an incoming OSC message with this dispatcher's responder funcs, and evaluate their functions for all matches found.



The OSC message as an Array in the form [OSCAddress, other args].


A Float indicating the time the incoming message was sent.


A NetAddr indicating the source of the message.


An Integer indicating the port on which the message was received.


Returns 'OSC unmatched'.


A Symbol.

Inherited instance methods