TouchTable DJ Decks
Although we didn't get this quite finished (I made the mistake of adding multiple touches too late in the game) we did get it sorted by the next hackspace tuesday meeting. Nevertheless, I soldiered on and it finally works.....ish
The table works using the Frustrated Total Internal Reflection technique. Essentially, infrared is emitted into the perspex sheet. Where your finger touches, the infrared leaks out which is detected by a camera with a correct filter. Using Community Core Vision (which uses OpenCV and Openframeworks), one can change these bright spots into touches.
With this table already built, we decided to build a DJ deck. Now this would probably be too much for just 24 hours but there were some useful programs out there that help.
The first is Mixxx, the DJ program. This has midi bindings for many controllers. I figured the best bet was to write something in Openframeworks that received TUIO messages from CCV, altered the controls and then sent MIDI signals to Mixxx. Linking two programs with Midi is possible under Linux using the virtual midi module and AConnectGUI.
The track is by the amazing Pronobozo. Grab it here!