A full implementation of OSC messages sent from Arduino Yun to Pure Data or any OSC server using local UDP.
-
Download pyOSC from: https://trac.v2.nl/wiki/pyOSC.
-
Create /OSCtoPD folder on yun:
mkdir OSCtoPD
- Copy lib to yun:
scp -r /User/.../Downloads/pyOSC-0.3.5b-5294 root@arduino.local:/OSCtoPD
- Install pyOSC on yun:
python setup.py install
- Copy python script to yun:
scp /Users/.../Desktop/oscsend.py root@arduino.local:/OSCtoPD
- Change exec mode on script:
chmod +x oscsend.py
-
Copy yunOSC folder to arduino/libraries path.
-
Open pure data patch.
-
Open Arduino IDE.
-
Choose File->Examples->yunOSC->send_example.
-
Update sketch with your ip
-
Upload and listen to your analog reads.