« Return to Blog Home

Kinect Drum Machine

Posted on 2/20/2011 at 12:44am

Update: I've updated the demo to use skeleton tracking. In other words: now you can use BOTH hands!

I spent a Sunday afternoon a couple of weeks ago putting together a proof of concept for a Kinect-based drum machine. Wave to get the camera's attention, and then make beats by moving your fist in the air! It works best if you pretend to hold a drum stick in your hand while playing.

This was written in VS 2010 using OpenNI + NITE and WPF (thanks to this thread on the OpenNI forum for providing the example I needed to get started). NOTE: in order to use the sample players, you must have Windows Media Player installed on your system.

Download the code here

3 Comments

  1. On 3/7/2011 Patrick Said:

    I developed the solution with Visual Studio 2010 Standard Edition. It's just a WPF application, so I think you can use Visual C# Express. Make sure you've installed all of the Required Drivers and Middle-ware. See this link for more detail on how to do this.

    Thanks,

    -Patrick

  2. On 3/7/2011 Kufaisal Said:

    Hi melody,

    Actually you must use C#, not C++. That's why you cant open his project.

    I already open this project, and having problem while i am debug. After i debug successful, i still cant open the project. Why is it? It come with unhandled something..

    Please help me.. Thanks

  3. On 3/7/2011 Melody Said:

    I tried running your .exe file from KinectDrumMachine>obj>x86>Release but it couldnt start.. I could not open your .sln because it says it doesnt support.csproj..

    I'm using Windows 7 with Microsoft Visual C++ 2010 Express.. Please help! I would really like to try out your program

    Melody

Leave a Comment