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 revision Previous revision
Next revision
Previous revision
faq:iphone [2010/04/15 22:45]
camille
faq:iphone [2016/12/10 10:12] (current)
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 iPhone/iPad to Osculator+??? What is the best way to connect an iPad/​iPhone ​to OSCulator
-!!! By nature OSC is a protocol ​that is not reliable.  ​That means that between ​the iPhone ​and the Mac, packets can be lost or sent in a different order.+!!! 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).
  
-On a local network, there is virtually no chance to lose packets or receive them in a different order, however you might run into latency and jitter problems The solution is to avoid having intermediaries ​-- a WiFi router, an ASDL set top box, etc. -- between the two devices+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. 
 + 
  
-The best way to connect an iPhone and Osculator together is to use the procedure ​described in the previous Q&AIf you follow the procedure carefullyyou 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 StillI can't send anything ​to my computerand 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.
  
-??? I have been bake to get bi-directional ​communication ​between TouchOSC and Ableton Live working fine for daysbut today it doesn'​t work anymore. ​ What can I do? +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.
-!!! 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.+
  
 +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.
 +
 +
 +??? 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.
 +
 +??? 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.1271364351.txt.gz · Last modified: 2010/04/15 22:45 by camille