Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Python Slip OSC Server

Following Microsoft's purchase of Github, this project has migrated to gitlab.

A simple demo of OSC over SLIP Serial using Python

The code in this repo demonstrates how SLIP encoded OSC messages can be handled by a python server.

The demo uses an arduino to send OSC messages that have been SLIP encoded over the serial line.

To the receiver, this looks like a stream of binary data, which is exactly what it is!

The code in server.py reads the stream of incoming data and decodes it into individual OSC messages which are then dispatched for further processing (in the demo, they are simply printed to stdout).

This simple example does not use threading so that the reader can easily understand what is going on.

The Arduino code uses the OSCuino library to perform the OSC and SLIP encoding.

To run this code:

  • compile the Arduino code in Arduino_OscSlipand upload to the Arduino of your choice (first install OSCuino if you don't already have it)
  • execute $ ./PythonSlip/server.py
  • observe the output

My thanks to all those who contributed the free and open source code that allowed me to build this!

About

A simple demo of OSC over SLIP Serial using Python

Resources

License

Packages

No packages published