User Tools

Site Tools


iPhone/iPad FAQ

While this method works, it is not the recommended one as the internal wireless adapter of the Macs is too weak to provide a good signal. If you really need to connect a wireless device with your Mac but don't have a router handy, please follow these instructions:

  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.

The method that gave the most satisfactory results to connect a wireless device and OSCulator together is to use a WiFi router: connect the Mac to the WiFi router using an Ethernet cable and connect the iPad to the WiFi router using its wireless network. The router must be configured to allow networking between Ethernet and WiFi interfaces (which is often the case by default).

Check out this thread for more information on WiFi routers.

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.

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.
  2. 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.txt · Last modified: 2016/12/10 10:12 by camille