Performance Video – Kinect on MAC & PC
Kinect on MAC
Interfacing the Kinect for Interactivity
The Performance Video Project has evolved over the weeks but the common requirement for our concept is to have some form of interactivity. This will allow the audience to have some control and to be able to interact with the Video.
Each member of the group is investigating a different method of input device for a MAX MSP Patcher which still needs to be designed to control the Video. I have taken on the task of researching into the newest home use technology, that is a Microsoft Kinect, which I plan to interface to my dual boot Macbook Pro.
MAX MSP for the Kinect on MAC
First though I started by researching MAX MSP patchers specifically for the Kinect theorising that it would make sense to work backwards, this way I would be able to identify the software requirements in order to get the Patcher to work.
I now had a list of software requirements and applications and libraries to download and install before I could connect the Kinect these are:-
Xcode is a free download from the Apple App Store but the current version 4.0 only runs on Lion so I had to install the version from the disks that came with my Macbook – you’ll find Xcode as an optional install on the OSX disk.
Macports download and installation instruction can be found here http://guide.macports.org/ – it’s very involved but if you work through them methodically the installation should be fairly straightforward.
I found that the libfreenect software was not required in the end, which is just as well as this does involve more than just downloading and running an installation – it needs compiling!
There’s also an alternative called Homebrew which can be found here http://mxcl.github.com/homebrew/ which is an alternative to Macports packaging systems for installing software applications for the OSX platform. I didn’t use this as I’d already gone down the Macports route but they say this is an easier way of installing what you need.
After I’d completed all this work I got slightly sidetracked after coming across a link to Microsoft’s official Kinect Drivers for installation on a PC. This can be found at http://kinectforwindows.org/ where you can download the 32 or 64 bit versions, make sure you read the system requirements.
I had to install the following additional applications.
- Visual Studio Express
- DirectX 9
- .NET Framework 4.0
With all the software installed I connected the Kinect for the first time and started one of the demo programs that came with the SDK download, unfortunately the system reported that I was missing some .dll files which I manually installed but after some investigation it seemed that the 3rd party firewall I was using was blocking these files from running so by just temporarily disabling this Firewall the errors stopped and the Kinect worked perfectly. Each of the demo programs functioned as expected, so I now had a working and fully interfaced Kinect but only for the PC, time to get the MAC installation working.
Rebooting the Mac to OSX I reconnected the Kinect and ran the MAX MSP Patchers I had installed earlier and surprisingly it worked first time even though I had yet to install libfreenect libraries, which is why I mentioned earlier that you may not need this.
Having continued with my research I found several more examples of MAC Kinect installs one in particular was of interest involving the use of Quartz Composer which is either already installed or comes with the OSX System Disk. Quartz Composer works in a similar way to MAX MSP in allowing the design of applications without writing any code.
Keen to try this alternative I set about loading the required libraries and programs to get the Kinect to work with Quartz Composer.
The next stage is to design a MAX MSP Patcher that will link the input from the Kinect to be able to call and run Video loops depending on the position of the person or persons in front of the Kinect.
Project Blog Entry Links
- Performance Video – Conclusion
- Performance Video – Wiimote MAC
- Performance Video – VJ’ing using Quartz Composer
- Performance Video – Kinnect on MAC and PC
- Performance Video – MAX MSP Jitter
- Performance Video – Modul8
- Performance Video – The Human Orchestra
Word Count 728