User Tools

Site Tools


This is an old revision of the document!

Warning: Declaration of syntax_plugin_blockquote_quote::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/clients/a70cbb4a74edf8105da5fd7e142fb9de/web/doc/lib/plugins/blockquote/syntax/quote.php on line 119

Warning: Declaration of syntax_plugin_blockquote_quote::render($mode, &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/clients/a70cbb4a74edf8105da5fd7e142fb9de/web/doc/lib/plugins/blockquote/syntax/quote.php on line 119

iPhone/iPad FAQ

If your Mac is Airport enabled (nowadays all laptop Macs have that), you can/should connect your iPhone directly to a network created on your Mac.

  1. On your Mac: Click on Airport icon in the menu bar (this is the one that looks like a radar scan).
    • Check that Airport is turned on, and select “Create Network”.
    • Give a name to this network. Optionally, if you are concerned with security, protect your network with a password (could be handy if you are performing on stage!)
  2. On your iPhone: Go in the Settings application, and start by turning on the Airplane mode. That will shut down the GSM, Bluetooth and WiFi antennas.
    • Go in the WiFi section, and turn it back on.
    • Wait for the networks list to populate, and select the network you've previously created on your Mac.
    • Before leaving this application, click on the blue disclosure button on the right of the network name, and patiently wait that numbers like appear in the “IP Address” field (wait around 20 seconds). This will ensure that your phone is ready to send messages on this local network.
  3. You can now leave the Settings app, and run TouchOSC, OSCemote or any iPhone music controller app you like.

By nature OSC is a protocol that is not reliable. If you use an OSC enabled application over a wireless network, the reliability of the connection can become even worse.

There are two aspects to the quality of a wireless connection:

  1. Reliability: It is given by the strength of the signal. The closer the device are one from each other, the stronger the signal will be. Also, if there is a lot of WiFi networks in your neighborhood, the signal will be less reliable.
  2. Latency: Using your iPad or iPhone as a controller requires a good timing, meaning that you want an action to happen in a reasonably fast way. The solution is to avoid intermediaries – a WiFi router, an ASDL set top box, etc. – and connect the iPad/iPhone directly to the computer using a custom WiFi network.

The best way to connect an iPhone and Osculator together is to use the procedure described in the previous Q&A. If you follow the procedure carefully, you will be able to get great results, with the best performances.

It is possible that you have an issue with a firewall configured on your machine.

If you are using a third party software to control network communication, you should disable it or set it up in order to accept OSC packets.

Mac OS X includes a basic firewall, which can be configured. Go in the System Preferences, then click on the Security button. From there you will be able to change the firewall's settings, or simply disable it if you are sure you don't need it.

If you are using Mac OS X Snow Leopard, the system will prompt you as soon as it receives a packet from outside. That means that you just have to launch OSCulator, and make the setup as usual.

Under some circumstances, it is possible that Osculator loses track of the bindings between the two applications. The simple cure is to delete all messages starting with /midi. Osculator will recreate them automatically as soon as you start using TouchOSC.

If you are using TouchOSC, you can get your device's IP address by going in the Network setup. The IP address is displayed as “Local IP Address” with something like

However, using the IP address is not the best thing to do if you want to send OSC messages to your iPhone. Using a human readable name is much more convenient, easy to remember, and it will not change if you use your phone on another wireless network.

The network host name is given from the iPhone's name in iTunes. For example if your iPhone is named “Gedeon”, its network name will be gedeon.local.

By default, iPhones are configured with a name like “Peter's iPhone”, but this makes a cluttered network name. To workaround this, the solution is to choose a simple one-word name with plain ASCII letters. For this, go in iTunes, and select your iPhone icon in the Devices view. Click again to make the field editable, and enter the desired name.  How to change the iPhone's name in iTunes

There are two ways of doing this:

  1. First option, use OSCulator's Duplicate command. This solution is better when you only want to duplicate some messages on two computer, and is easier to configure.
    • First, run OSCulator on both computers.
    • Choose one computer as the master and the other as the slave.
    • In the main list of the master computer, locate the message you want to send to the slave computer, and duplicate it (Command-D)
    • Open the Parameters Window, and go to the OSC tab
    • In the table at the top, define a new target by choosing an empty slot, click on the gear icon, then choose the item that matches your slave computer (you should see the OSCulator service with your computer name in the list). Remember the slot number (most of the time it should be slot number 2).
    • In the table at the bottom, add a new routing by clicking the + button, and change the slot number from default slot (Đ) to the number you've just memorized (2 for instance).
    • Close the Parameters Window.
    • Finally assign the newly created OSC routing to one of your duplicated message.
  1. Second option, use the oscbroadcast tool. This solution is a little bit more advanced, but has the advantage of routing every OSC message without distinction and is therefore more powerful. It also helps keeping the Osculator document less cluttered with duplicates.
    • Start the tool using the command line, for example:
      ./oscbroadcast -s 3333 -t osc.udp://computer-1:8000 -t osc.udp://computer-2:8000

      Where 3333 is a free network port, computer-1 and computer-2 are IP addresses or host names of two computers on the local network, and 8000 is the network port on which Osculator is running.

    • Setup your iPad or iPhone device to send data to a oscbroadcast OSC port (here 3333).


faq/iphone.1312986808.txt.gz · Last modified: 2011/08/10 16:33 by camille