Allows to receive an array of format [k1, v1, k2, v2, ...] in OSC values and access them in Event style, therefore( o = OSCMapper(\myLayout, layout: ( '/my': OSCMapperKeyValue(), )); ) // send a message to ourselves NetAddr("localhost", NetAddr.langPort).sendMsg("/my", "foo", 42, "bar", 2); // now access the elements via their key - .asNdef etc also works o['/my']['foo'].value; o['/my']['bar'].value;
[k1, v1, k2, v2, ...]
See OSCMapper and OSCMapperElement for further information.
See OSCMapper: Examples.