Failed attempts to control Cuemix FX via OSC
I tried to get Cuemix controlled via osc, as it is possible to do that with TouchOSC, I thought it should work easily. But it doesn’t…
Thats what I tried: First I analyzed the osc messages from the Motu cuemix touchosc template.
TouchOsc is sending for example this message for the first slider:
I connected TouchOSC to Cuemix, and TouchOSC is telling me its sending on port 53497.
Then I tried to send the above message to the ip of my Macbook (code at the end of the post)
I also tried localhost and a broadcast 255.255.255.255…
But Cuemix does not move the slider…
I have no idea why this is failing…
There is also some kind of handshaking between TouchOSC and Cuemix happening. But I don’t know what how it is happening there.
TouchOSC does see Cuemix as Host, but it does not see Max as host. The host is delivering the information about the ports to TouchOSC.
In Cuemix I do see my iPad as TouchOSC device. I want to make it think my Maxpatch is a TouchOSC device as well… But how to achieve this…?
Has anybody got a cuemix control of any kind working? (The HUI Protocol might be an option as well…)
<code>-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 496.3ocyT0zabCBD8r2eEHTu0sNfsis2dqspG54J0KUUQrlYyRjWvBva21n7 eu.9i3s4CuJJIJWLlGCCu4wi45EQ30pCfAi9H5mnnnqWDEEf7.Q8yiv6XGpp YlPXXI7a05qvK6VxBGrA3VdiAjbDcURLMuLlVTFmRPmmlspXH3FlsZqPd4EZ nx1clYEwjknzzR+.sbkeHgDSP+peOx1cBYMXCGNsGbiRZMh+BALpaOiwpZsC AOfJ3AB5H8GRvSRfjsKj.7O.MmIYX+R2rXg+yxSTL1AFC6R3NpwYqExy1r+q e98D2v2je46tep3aPuiNqXPWkGTghr3xRBIO2KLOjhjzC1U21+z.coBiGi+H wJ4ADK5cEqh6Ur9jVvpeJRkoVvA87VgrAKfqryl0ILVXi0UCS63pEzW.R15Z XpUXSshYcUcSqcZRdDwaVUJ+Uw1PhokY4zyeD4Ku6sSZwaByS5yr6YltN0pJ V8VkwNaCGJIXsRJec53PO0NNgiGWKj+e23PM3wOVcLpVc0v8U+yUzsEAGLVg jYEJ4jX72JH5XPaEbNHmxbtv3eyD3O4duldNoSxQw7Rxl7SfMEOQ1zcywZZ1 CZSeJCDw4fuRo8SyWFlJjcSClJrF1KFhOKfvzN2p0YUa0c9jCk91Kty4lE+C YedwmC -----------end_max5_patcher-----------
I am using Max to establish a OSC connection to CueMixFX and control volumes of all busses with a MIDI controller: http://blog.sebastian-arnold.net/2013/11/a-portable-digital-mixing-desk-with-maxmsp/
If you want to dig deeper, you will have to check the OSC messages in the TouchOSC templates of the MOTU driver (see http://www.motunation.com/forum/viewtopic.php?f=2&t=50984). I have attached an example patch that uses osctools. Hope it works!
<code>-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 2898.3oc0b0uaaiiD+uSdJ3Zz8tzayZqOssJvhqoNtWC1ljhjzhBr9tBYIZa 1HIpUjJNdWrOP2qw8jcjTRwxo9CJYaUYf1XaYIwg+3L+lgyLx+4wG0XH9QHo A3UfeCbzQ+4wGcj3P7CbT5mOpgu8iNd1Dwo0vA66CCnMNM46nvGohi2KFdI5 Qva+L35a6AbvAAPGJNB.ez1OzCNHXJhNAGSAQPRHNffFh7PzYfQrywNXFvCS H.16cs8sGyN8+2+EnonpCtENzlPQ1AfyhBvdtCBlPogupUqoSm1jj8k+rs3K aF.oCBvDG13OhMzTXTfsGX3LvMP+YfKi87fQOcGH33HGHS.FC4WXqvH7WYBM oE6FPwXORqQHOHoUxEPXWwX1bHdXSFFzxgAHHnWq+.Fg4iVFf3gXSbbbf.U5 jdvPapyDTv3uDwt+InsktRSkSApl7+pYZI9fB6Xf+c5EMBGPCr8gB38rHjsW 1XfbEGCO7q+ba0rCFD6iB7fTwxjZt6AA8Gh6gpFaLRObz3g7Co7zQXWMawI6 xU3G7uN9X9eNcKULtD+.DPm.Aircg70ZWvTNb.lwfePpZyTTfKdZyrOF.gtD .ECHT6Y.bHL.vUe.1NTD6tw0vhf9XJjqnQivdMKJ72wR.7Fh+ppkrVnXTT32 rydA9SO5v3gC8Rt3Rrf3CID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U8NZl72Ynzoqg9pgkus0QzTd9pPIVvGFSo3.IVym2zmOih MeCZaULE5E6pl8V.MT7Xn6XnDSx1aUYjZqThoeIatncXBrU1b80RcspWxr4a Zdnj4ZWnm8L9lDWKnXjume6TxnNLMJFnTBsjcYYNT2r4yVpkXnbv7bFgC3gJ Hgcil41PnnWaJLsrtIxdYstIzMqktIluuW6PQlAjovUOaWuR2RYZKVkckxE1 slwAaNzO+ha6c8m5eCn2G6e4EeFba+a9zZel8xfLybHVwMozND2qmG11kyKC jfDdKyXf5ASwrXaAHBylgq2UsVNezkGT5bP4pdXDdJI2tckvnRIuUUwccevz YBOkXfDLJJKw.D+gM+B0QpDCHAstt4VQqqdvj0tT+gdX78DQiZRirQd7txbP iSti20oL+jur39GUW3g5Oo97lZElru5ZBs8aaXe1UWc8GupWR1Q689K5e0cM 1H3k+ALoLEJU+.0SYx1p2.5XrU6cqix1DA62MRO9SCAxABdsnm0Fz3MwD.y7 kWivb1pfWGhinIUn34INsnYJUMu6WqRlmTicatkECtXF7re0bDxuXicK.wI+ FyjtRlUJOv74fKjPQAOk6xea9uZF.0mNoIHWWXPdlBWDgm8R2UaAHs7nrvPs b44YB8dWdz2f7va+mJRd5VuVt3EkaixiU0AOcTjPdLpLwosLvCudSUk7HC7X VcxyyFpUfOZUm7XJg7n2s5jGCYVuLqL4wPl0K9OMFUD8iXn1n7zt5vm1xrdU czgFFxtdUQxiL7gFUG+rgR8xdWWF26sqN8GcY3CMMpWxiQEhO5xZeoUMxiDh S0E6rV65UzO7JLjagXEV6lUq7ro85nVgqW50q0KUqZl7HC6rZ04MUUlnezqN wQudELuppZMS+QF4QsBWv3OhDal.xphEnMhPUHkn3QjXyRjRUhQRrlUcQrJi JsVYCPLI6l1ggO.iHo2Sgjzv29qIsfX6SEeDEj7QQhTaDAe.kc9hD51vNxYB hBcnwQI4m8wtsabLeb9qi++vhTF8q -----------end_max5_patcher-----------
This is very interesting for some motu devices owners :) thanks for the infos !
i’m trying to dig into this at the moment, and can’t understand several things…
*i don’t have touchOSC, apparently it’s used because it has a built-in template for communicating with CueMix right ? this template that "sc7" at that motunation thread reverse engineered and which is there http://pastehtml.com/view/cdh38i82b.rtxt, is that it ?
*so, one has to set CueMix in "OSC enabled" mode, but how ?…
*on which channel does CueMix send osc informations ?
Thanks, hoping someone will find it (i see dhjdhjdhj took part in that motunation conversation, maybe if he reads that… aaah, if only there was some kind of private messaging system…)
Ok, so i just updated my motu softwares and voilà ! there is an osc enable option in cuemix fx (menu "control surfaces"). I should be going better now. Will report later if it works.
What do the zeroconf objects do in Sarnold’s patch ? i’m lost ! .. i can receive osc messages from CueMix, but had no luck sending any of them.
i also don’t understand what is meant by the "HACK NEEDED" paragraph……….
It works !….
I just got a roughly working connection from my Fostex MixTAB Midi controler to the CueMix controlling a Motu UltraLite mkIII hybrid with the below project. For your own needs just replace the mtlin subpatcher with your own connection to your controller.
This is far from being ready, not all potentiometers are connected yet, but (hopefully) you get the idea…
The patch has to act as if it is a TouchOSC on an iPad. The feedback from CueMix only happens if CueMix assumes a specific view on the iPad. This is unnecessarily difficult, but MotU seems to think along "why easy if it could be complicated…;-)"
hah, so that explains the necessity of the zeroconfs objects to declare as a "touchOSC like" device name ? btw i got it to work, modifiying Sarnold’s patch ; i found it just right before the gig ;)
Sorry to reply to such an old threat, but @VICHUG, could you please point me in the right direction of how you solved this?
I installed the osctools, downloaded the patch of @Sarnold and changed the string "MOTU 828mk3 Hybrid CueMix FX OSC" to "MOTU 828mk3 FireWire CueMix FX OSC". There is no connection to CueMix FX at all. The status-light in the patch doesn’t light up too.
I’m struggling with the setup in CueMix FX itself too. I enabled the control surfaces but didn’t add or edit anything in the OSC devices window.
it is somewhat difficult to figure out how the CueMix FX OSC interface works. This is a rough outline:
1. CueMix is constantly looking for OSC clients that are announced via Zeroconf and have a name that ends with "(TouchOSC)". In my example this is Max on port 64711.
2. CueMix announces itself via Zeroconf with the name "MOTU 828mk3 Hybrid CueMix FX OSC on 127.0.0.1" or similar. If you have a different device, you have to change these two Strings to the matching device. Attach a print object to zeroconf.browser to find our your device string.
3. You may need to register your client in CueMix under "Control Surfaces"->"Configure OSC devices…"
4. IMPORTANT: my example patch relies on loadbang and loadmess objects. Please save it to disk and reload in order to start the connection.
One more word about that strange HACK NEEDED paragraph:
The CueMix client is not stateless. That means, you cannot control EQs and Faders (or different channel banks) at the same time, because you need to switch the mode to /mixes or /eq before these commands will work. The trick is to implement multiple OSC clients and use them simultaneously, e.g. one for the mix, the other for the EQ.
I hope it will work like that for you. I’ve been playing over 50 live shows in the past months without a screen attached, using this connector without failure (except the usual MOTU firewire/USB driver hickups, but that’s a different story).
- This reply was modified 1 year by sarnold.
@Henny : aditionnally, depending on your OS, you might have a problem with your network configuration. I’m on Mac 10.6.8, and the connection wouldn’t establish sometimes because a local networking service wasn’t activated by default by OSX ; those cases were solved by creating an ad-hoc network via airport from my computer..; (even with nothign on the network). After discussing the subject on the irc of MacPort, this problem appeared to be very os specific apparently, and may or may not be solved with this. And i don’t really understand it. IIRC there is a network observer tool on osx, and you can check from there if the address is there… don’t remember which address it was (just "localhost" maybe ?), and my computer is beeing repaired now so can’t help you more (*if* that were to be your problem).
What is your Max window saying ?
Thank you very much for the replies guys! Unfortunately simply not working at all.
Max window error for the zeroconf.browser is:
zeroconf.service: unable to load object bundle executable 2014-11-15 01:46:11.954 Max[7289:985210] Error loading /Applications/Max 6.1/Cycling '74/External/zeroconf.service.mxo/Contents/MacOS/zeroconf.service: dlopen(/Applications/Max 6.1/Cycling '74/External/zeroconf.service.mxo/Contents/MacOS/zeroconf.service , 262): no suitable image found. Did find: /Applications/Max 6.1/Cycling '74/External/zeroconf.service.mxo/Contents/MacOS/zeroconf.service: no matching architecture in universal wrapper
So the mxo’s aren’t loading properly thus not doing anything. I’m using ableton + max 64bit. Could it be that the mxo’s are compiled for 32bit or couldnt that be the problem?
Great thread for me.
I haven’t bought my AVB Ultralite yet, but I’m pretty sure I will. Both to use as mixer and interface live.
I have some questions you might be able to answer. Will the OSC thing work over usb connection? I guess it should, but I don’t like the term guess :)
And I have a late 2011 macbook pro running lion osx. Will this be a problem?
I should maybe ask the Motu guys this, but I like you guys better :)
About AVB on Mac… I just bought a nice CalDigit thunderbird 2 hub and discovered that its ethernet port doesn’t support AVB (under OS X.9)! It seems to be Apple’s driver fault: CalDigit relies on Apple’s drivers, and some of their Ethernet drivers don’t support AVB (in this case, the one for the intel i210 chip used in the hub).
So be careful!
is avb the sccessor of the mk3 ?
@Patrick : it’s written all over the AVB website that ethernet connection requires Yosemite. Apparently it’s a "new" tech
AVB is supported under X.9 too.
So, it is available on my new MacBook Pro, X.9 (with Apple’s thunderbolt <-> ethernet adapter), but not on my old 2009 iMac, X.9.
You can see wether your hardware supports AVB if you go in the Network preferences -> Advanced -> Hardware. If AVB is supported, then you’ll find there an AVB checkbox.
Another way is to check if the "Network Device Browser" window in Audio-MIDI setup is available in the Window menu.
@HZD : i suspect you should select the Ethernet tab before going into "advanced" (currently you’re in wifi).
I have no avb checkbox even though i have yosemite, plus if i go in audio/midi configurations ; the "Network Device Browser" is greyed out. Does it mean no AVB for me then ?
- This reply was modified 1 year by vichug.
@hzb – you need indeed to first select your Ethernet port, sorry I wasn’t clear enough. Anyway, I don’t think OSX Lion does support AVB.
@vichug – some hardware supports AVB (then you also need to have a driver that supports AVB) and some don’t. In your case I doubt you can get AVB with the ethernet port you use, but you could use another ethernet port (Apple’s TB <-> Ethernet adapter does support AVB, Apple’s USB <-> Ethernet doesn’t)
oh, okay. My mac is pre thunderbolt so…
So, looks like my early 2011 macbook pro (now running yosemite) is compatible with AVB. So far so good.
I have now managed to make your max patch say I’m connected to my UltraLite AVB. But I’m not getting any data sent to the MOTU.
The udpsend localhost should be port 55000? Or do I need to find this via the bonjour browser?
The sprint object seta a name for the receiving device. What doest the %s expect, so to say?
Sorry if I’m asking strange questions, but I feel I’m getting close, so I’m very excited :)
thx so far
Resurrecting this thread from the dead is for asking if you have trouble with zeroconf and Yosemite : here, it’s crashing constantly. I suppose the protocol may have changed a bit since the external was created…
Thanks Sebastian, that’s exactly what I was looking for :)
Forums > MaxMSP