Sorting incoming OSC data
Hey all - I'm relatively new to MAX DSP and enjoying learning! I'm trying to source realtime data from my Muse Headband and have got it setup to receive the UDP data which is a win for me. The data comes in with a header such as:
/muse/eeg 1. 1. 1. 1.
/muse/gyro 1. 1. 1.
/muse/elements/alpha_absolute 1.
I've got it set up with unpack objects, but am unclear how to "sort" the header so for example the eeg data goes to the unpack object for eeg, etc.
Apologies if I'm not describing this well. Pic attached
Thanks in advance for any help!

Thanks Matt Wright and your Max Course on Kadenze! Using the route object I think I got it!
hello,
One of the way is to use regexp

Perhaps messier, but I ended up using - your way seems more efficient! Thank you!
"route /muse/eeg /muse/gyro /muse/acc /muse/elements/touching_forehead /muse/elements/horseshoe /muse/elements/alpha_absolute /muse/elements/beta_absolute /muse/elements/delta_absolute /muse/elements/theta_absolute /muse/elements/gamma_absolute /muse/elements/blink"
At the end maybe your solution is more efficient than mine =)
Also check out the osc-route external