Skip to content

Instantly share code, notes, and snippets.

@shinybit
shinybit / osc_client.py
Last active January 20, 2017 10:09
Sending OSC messages from Pythonista with pyOSC: http://bit.ly/1Vl8PCN
#!/usr/bin/env python
# Get pyOSC here: https://trac.v2.nl/wiki/pyOSC
# The GitHub-hosted version of pyOSC is for Python 3 which isn't supported by Pythonista at the moment
from OSC import OSCClient, OSCMessage
client = OSCClient()
client.connect(("192.168.43.120", 8000))
msg = OSCMessage("/msg/notes")