stysk1 / AirBand

CSC355: Human Computer Interaction project using two Myo Armbands to simulate air drumming.
MIT License
2 stars 0 forks source link
computer-vision drumming myo-armband

AirBand

CSC355: Human Computer Interaction project using two Myo Armbands to simulate air drumming. The program interprets gestures that the user makes and simulates drumming by importing sounds. The idea is to simulate air drumming by sitting down, putting on two Myo Armbands, and moving your arms and wrists like actual drumming to get a real-time drum session recording.

Authors: Pranav Nair, Mark Meddleton, Kevin Stys, Matthew Bottone
Release Date: December 3rd, 2018

Files & Folders:

How Each File Works Together:

All the files are placed in a single folder. The main.cpp file contains the myo.hpp which is included to use the Myo C++ SDK. Similarly, the main.cpp file includes the bass.h which is used to load the drum sounds and play them through different channels.

To Compile and Run:

Windows:

Find the MyoDrum.exe within the files of the projects. Open the .exe file to run the program. Once the file is opened, click on build to run the project. Disconnect each armband first. Then follow the procedure for the first armband(used as the right hand):- connect, disconnect, and re-connect. A “Right hand connected” string will output in the terminal. After that, follow the same procedure for the second armband(used in the left hand). Once this is satisfied, you can start moving the myo armband and start playing the virtual drums.

Mac:

When user loads Xcode program, open the AirBand.xcodeproj file which contains all the files for the myo project. Once the file is opened, click on build to run the project. Disconnect each armband first. Then follow the procedure for the first armband(used as the right hand):- connect, disconnect, and re-connect. A “Right hand connected” string will output in the terminal. After that, follow the same procedure for the second armband(used in the left hand). Once this is satisfied, you can start moving the myo armband and start playing the virtual drums.

Milestones:

Milestone #1:

Milestone #2:

Final Code:

Nice to Have's:

Useful Links: