- Posted: Sep 12, 2013 at 6:00AM
- 3,375 views
Today's project by Dominic Finn is one of the fun things to do with the Kinect for Windows, turning your movement into music...
I have started messing about with the Kinect again. Finally! Mr Randall, our head honcho at North 51 kindly supplied us with a company unit so we can begin messing about with it.
I am hoping that once the holiday period dies down we can begin to really start thinking about genuine applications.
At the moment it's just a case of reminding myself of the mechanics of how it works. I thought I would once again take one of the examples that comes with the SDK and just toy with it.
I fancied a little peek at NAudio (I have been watching an Audio course on Pluralsight) so I got NAudio back out again.
The project is to create a music generator based on the location of the hands according to the kinect sensor. It also changes amplitude depending on your distance from the device.
I really like the way you can get a hold of the location points of the skeleton with the Kinect SDK. Once you have the skeleton getting the hands is as simple as
var leftHand = skel.Joints[JointType.HandLeft];
var rightHand = skel.Joints[JointType.HandRight];
Project Information URL: http://www.dominicfinn.co.uk/2013/09/skeleton-music-music-with-kinect.html
Project Source URL: https://github.com/DominicFinn/MusicSkeleton