Creating an OSX Ad-hoc network

Of recent I’ve had a number of enquiries into how to create an Ad-hoc network and get TouchOSC connected to it, so with that in mind I’ve decided to bang this into a post for future reference.  Never one to teach people how to suck eggs me.

Create-Network-OSX-300x242Firstly it’s a simple case of actually creating a network from the desktop.

 

 

 

 

 

 

 

 

 

Create-security-300x248Once you have selected “Create Network” it’s onto the naming of your connection and here you have the choice to set your own security password to protect it and generally stop those little drunk oiks from accessing it at you gig.

 

 

 

 

 

 

 

 

newpeertopeer*Edited to add (18th March 2016):  

Unfortunately, Apple in their infinite wisdom have decided that we do not need a secure network when creating our own.  IF you are on a more recent OS X release, then your “Create a computer to computer network” will look like this.

 

 

 

 

 

 

Open-Network-Prefs-295x300Now you’ve created the network connection (secure or not) for you to connect TouchOSC to, the next thing we have to look at is getting the IP address of the network (OSX side) and shoehorning it into TouchOSC itself.  To do this it’s a simple case of bringing up the “Network Preferences” page and waiting for it to create.

 

 

 

 

 

 

 

 

 

Network-prefs-300x261

Give it a little time and you will see that the connection issues itself an IP address.

We now have taken care of the OSX side of this for the moment.

 

 

 

 

 

 

You should now have a working Ad-hoc network on OSX.

 

 

 

Simple MIDI connection using TouchOSC Bridge.

Now that we have a working Ad-hoc network setup on the OSX side, its time to look at connecting your ‘device’ to it using the TouchOSC bridge application.  This app is freely downloadable from the hexler.net website (scroll to the downloads section) on the TouchOSC page.

What is TouchOSC Bridge?  I think the best description for this is the one already on the website: 

“TouchOSC Bridge is a standalone tool application for Windows and Mac OS X that relays MIDI messages sent from TouchOSC to any MIDI capable application on your computer and vice versa. TouchOSC version 1.8 or later is required to use this application.” 

Once you have downloaded this small app and unzipped it, simply drag it into your “Applications” folder on your Mac and you should be good to go.  Once run, you should see a small icon to the top right of your screen (a black box with a bold, white “B” in it).

Screen-Shot-2014-02-10-at-19.59.21

IF (however) you do not see the above icon once running the bridge, you WILL have to download the latest, correct release of JAVA for your own system.

With Bridge running you should then see TouchOSC Bridge listed as a control surface in your choice of DAW / VJ / lighting software.  All that would remain is for you to choose how you want the MIDI in/out ports to operate.

 

 

 

IMG_4526Now to setup TouchOSC.  In this example I will be using the iPhone 1.9.3 release of TouchOSC on a 5c.  It’s green if your interested with a nice (if somewhat expensive) cover on it.

Upon opening the app you’ll see the loading screen (this may get a little sucky of eggs actually), which in turn will lead onto the main settings screen of the app.

 

 

 

 

 

 

 

 

 

 

IMG_4527-169x300From this screen you can turn on or off the OSC, MIDI Bridge and CoreMIDI connections as required.  Select your layout for use as well as access some other handy options.

For this example I’m going to assume that we are trying to connect to Ableton Live 8 or 9.  This is NOT a tutorial on using Ableton, nor is it anything more than showing you how to get a connection setup and operational within Live.

Please ensure you have installed and run the TouchOSC bridge (see above).

 

 

 

 

 

 

 

 

IMG_4529-169x300Now assuming we have that icon on screen, we can look at TouchOSC and enable the MIDI Bridge option (remember we’re not using OSC here for the minute).

As long as your iDevice is on the same network as the Mac (or better still connect the iDevice to the Ad-hoc network we created above) it should automatically detect the host and complete the IP address of the computer.

Hit the “<TouchOSC” (or back) button to return to the previous screen.

Next, it’s a simple case of choosing the template you want to use and if needed, you mapping the controls to the software you wish to control.

 



Leave a Reply