possan / phidget-encoder-osc-proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple phidget encoder to OSC proxy

Usage

Run ./proxy 3000 528905 528391 to listen for changes to two encoders with serial numbers 528905 and 528391, and send updates over OSC port 3000, the OSC payload is two integers, absolute value and relative value, the address is /phidgets/<serial number>/encoder/<encoder index> - Exit with Ctrl-C

Building

OSX:

  • Install Phidget21 libraries (See these docs)
  • Run make
  • Run ./proxy

Windows:

  • Put phidget21.dll in the project folder
  • Open looper.vcxproj in Visual Studio
  • Hit F5.

About


Languages

Language:C 76.2%Language:C++ 23.7%Language:Makefile 0.2%