User Tools

Site Tools


faq:iphone

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
faq:iphone [2010/05/01 13:32] camillefaq:iphone [2016/12/10 10:11] camille
Line 6: Line 6:
  
  
-??? How can I connect TouchOSC to my Mac without a WiFI router?+??? How can I connect TouchOSC to my Mac without a Wi-Fi router?
  
-!!! 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.+!!! 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 wireless device with your Mac but don't have a router handy, please follow these instructions:
  
   - **On your Mac:** Click on Airport icon in the menu bar (this is the one that looks like a radar scan).   - **On your Mac:** Click on Airport icon in the menu bar (this is the one that looks like a radar scan).
Line 19: Line 19:
   - You can now leave the Settings app, and run TouchOSC, OSCemote or any iPhone music controller app you like.   - You can now leave the Settings app, and run TouchOSC, OSCemote or any iPhone music controller app you like.
  
-??? What is the best way to connect an iPad/iPhone to Osculator+??? What is the best way to connect an iPad/iPhone to OSCulator
-!!! 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.+!!! 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).
  
-There are two aspects to the quality of a wireless connection: +Check out [[https://osculator.net/forum/threads/1398-WiFI-connectivity-Tips-and-recommended-list-of-access-points|this thread]] for more information on WiFi routers. 
-  - 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. + 
-  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 resultswith the best performances.+??? I carefully followed the procedure, and I can tell that my iPad and computer are on the same network Still, I can't send anything to my computer, and it doesn't even appear in TouchOSC's network browser.  What I can do? 
 + 
 +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 Preferencesthen click on the Security button.  From there you will be able to change the firewall's settingsor 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.
  
  
 ??? TouchOSC and Ableton Live were working fine together for days, but today it seems that changes in Live do not reflect in TouchOSC, the bi-directional comm seems broken.  What can I do? ??? TouchOSC and Ableton Live were working fine together for days, but today it seems that changes in Live do not reflect in TouchOSC, the bi-directional comm seems broken.  What can I do?
-!!! 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.+!!! 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
 + 
 +??? How do I send messages coming from one device to two computers? 
 +!!! There are two ways of doing this: 
 +  - 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. 
 + 
 +  - 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. 
 +    * [[https://osculator.net/res/oscbroadcast.zip|Download the oscbroadcast tool here]] 
 +    * Start the tool using the command line, for example: <code>./oscbroadcast -s 3333 -t osc.udp://computer-1:8000 -t osc.udp://computer-2:8000</code> \\ 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).
  
 +References:
 +  * [[https://osculator.net/forum/threads/1457-using-two-macs-with-the-osculator]]
 +  * [[https://osculator.net/forum/threads/1377-Syncing-two-Osculator-programs]]
 +  * [[https://osculator.net/forum/threads/1436-Osculator-Processing-TUIO-(help!)]]
faq/iphone.txt · Last modified: 2016/12/10 10:12 by camille