NEW TUTORIAL: Using OSC to Communicate with a Raspberry Pi @Raspberry_Pi @cycling74
If you are a regular user of audio/visual programming environments like Cycling ’74’s Max, Pure Data, or ChucK, you may have encountered instances where you would like to communicate with network connected devices and sensors. There are plenty of ways you could approach this, but a protocol known as Open Sound Control (OSC) is probably the best supported solution.
Here’s a short description of OSC from opensoundcontrol.org: Open Sound Control (OSC) is a protocol for communication among computers, sound synthesizers, and other multimedia devices that is optimized for modern networking technology. Bringing the benefits of modern networking technology to the world of electronic musical instruments, OSC’s advantages include interoperability, accuracy, flexibility, and enhanced organization and documentation.
In this tutorial, we will be exploring using OSC to communicate with a Raspberry Pi connected to your local network using Max, Pure Data, and ChucK. We will be using Node.js as a broker on the Pi because the event driven nature of Node.js makes it easy to do things like listen to incoming OSC messages or button presses while performing other tasks.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.