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.

Yes!

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.

Screenshot 2015-01-26 21.50.55

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:

1.Settings

2_More

3_Untethered

4_Tethering

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.

OSX_Tethered

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).

4.TouchOSC

Screenshot 2015-01-26 22.23.53

 

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.



6 Comments

    • Tony Coleman wrote:

      It’s just using the existing driver that was mentioned on CDM made no mention at all of it being used for anything else … Odd that hah. Mind you, I’m “support” for Touch so I do have a vested interest in supporting it.

  1. Keith A. wrote:

    I’m trying to get a similar setup working, but I had to use PdaNet+ on my android to enable USB tethering, as it doesn’t seem to be natively available on my device (Samsung Note 2014 tablet). I can get the connection working with Lemur, so it seems possible, but I have had trouble trying to get TouchOSC working to send MIDI signal to Resolume.

    Any advice would be appreciated!

    • Fluke wrote:

      I’m not familiar with the Samsung Note tablet unfortunately, do you have TouchOSC working via an adhoc network connection?

  2. Alcolmx wrote:

    Any idea if a similar Android > Windows connection can be made?

    • Fluke wrote:

      A quick google for “android usb tethering” turns up a few results. I’ve not personally tried but I do believe Google could be worth a punt.

Leave a Reply