Shop OBEX P1 Docs P2 Docs Learn Events
TouchOSC on the Prop — Parallax Forums

TouchOSC on the Prop

MJHanaganMJHanagan Posts: 189
edited 2015-05-04 09:14 in Propeller 1
TouchOSC is a very simple app for the iPhone that utilizes WiFi to communicate with other devices on the same local network, It seems like this would be a very convenient way to communicate with the Propeller outfitted with an Xbee WiFi module. I found this forum entry but none of the links seem to work: http://forums.parallax.com/showthread.php/134273-PropOSC-Open-Sound-Control

Has any one looked into this and perhaps has some Prop code they could share?

Comments

  • PublisonPublison Posts: 12,366
    edited 2015-04-21 08:28
    I believe to broken link is referring to a Wiznet W5100 SPI Diver:

    http://obex.parallax.com/object/670

    I think that was the Object he was hacking.

    Also see:

    http://forums.parallax.com/showthread.php/158057-OSC-Open-Sound-Control
  • DynamoBenDynamoBen Posts: 366
    edited 2015-04-25 08:58
    I have a project I'm working on now that both sends and receives OSC. Not the prettiest or most complete code but it works for what I'm doing. If you want it I can make a less project specific version and post it here; just let me know.
  • MJHanaganMJHanagan Posts: 189
    edited 2015-04-25 10:32
    DynamoBen wrote: »
    I have a project I'm working on now that both sends and receives OSC. Not the prettiest or most complete code but it works for what I'm doing. If you want it I can make a less project specific version and post it here; just let me know.

    Yes, please. I would like to see how this OSC works with the Propeller. Thank you.
  • DynamoBenDynamoBen Posts: 366
    edited 2015-04-25 12:31
    Here you go, I've tested all OSC argument types except for blob (you've been warned if you decide to use it). If you make any changes, improvements, bug fixes, or have questions let me know. Enjoy!

    UPDATED: Fixed bug having to do with 32bit padding, or lack there of.
  • DynamoBenDynamoBen Posts: 366
    edited 2015-04-25 15:26
    DynamoBen wrote: »
    Here you go, I've tested all OSC argument types except for blob (you've been warned if you decide to use it). If you make any changes, improvements, bug fixes, or have questions let me know. Enjoy!

    I'm noticing a couple of bugs with this version that need working out around 32 bit alignment padding. I will try to nail them down and post and updated version.
  • DynamoBenDynamoBen Posts: 366
    edited 2015-04-25 18:46
    DynamoBen wrote: »
    I'm noticing a couple of bugs with this version that need working out around 32 bit alignment padding. I will try to nail them down and post and updated version.

    Fixed that issue, let me know if you find any others.
  • DynamoBenDynamoBen Posts: 366
    edited 2015-05-04 09:14
    Were you able check out my code, is it going to work for what you are doing?
Sign In or Register to comment.