TouchOSC (Android) and USB connections.
With the recent hype online concerning the new release of Lemur on Android and the use of the inherent cable connection connectivity (via a third party driver), I have at last taken the plunge and have attempted this same connectivity with TouchOSC on my Nexus 7 (2013).
I am quite simply pleased to say it works as anticipated. Out of the box. Each and every time.
So, it’s not a new feature by any stretch, and one which should be considered by all Android / TouchOSC users. So here is a quick and dirty (as most of these posts appear to be) guide to connecting you’re Android device to OS X via a USB cable connection. The little driver we need to install is called HoRNDIS and it’s located here, once you have successfully downloaded and installed the small package you will be advised that a reboot maybe required. I’ve tested this on OS X Yosemite (10.10.1) and a Google Nexus 7 (2013) running the latest OS.
So, after a quick reboot it’s a simple case of connecting the Nexus to the Mac via it’s USB cable. Once this has been done head to the ‘settings’ on the device and navigate through to “Setting / More… / Tethering & portable hotspot” and as long as you are wired into the computer then the following option will be selectable:
The above images show the path through to getting a tethered connection. Once selected head over to your OS X network preferences and check that the device is available as a network connection. In this example I have disconnected my wifi connection to ensure it’s not routing incorrectly.
With this connection in place, lets have a quick look on the TouchOSC side of things. I’m using an OSC connection and it’s communicating with Resolume 4 on the Mac side of things. So the standard OSC setup instructions go here on Resolume (check you’re IP addresses etc and remove the tick from bundles).
So far with each disconnection / reconnection of the Nexus it seems to hold onto the issued IP address, so thats handy once it’s setup.
A quick TouchOSC template to select active layers was knocked up using the default OSC mappings from Resolume (/layer1/select etc.) and sync’d to the device.
Boom! A hardwired, TouchOSC (Android) to Resolume Avenue 4 control connection.
Hope this helps.