Skip to content

crystalrhee/hackumassvi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Air Keys (HackUMassVI Finalists)

Created for HackUMass VI, this project is a motion activated music player that uses Leap Motion to detect gestures. These gestures are linked to media commands and can be used to control any music player.

Table of Contents 😄😄😄

Installation

😉 😙

Please Install:

Python 2.7 - https://www.python.org/downloads/release/python-2715/
Leap Motion (V2 Tracking) - https://www.leapmotion.com/setup/desktop/
Flask - https://pypi.org/project/Flask/

And Buy

Leap Motion Controller
leap560

Commands

😮
Keytap - a quick, downward tapping movement
👆 Keytap - Play/Pause
leap_gesture_tap

Swipe - a linear movement of a finger to the left or right
👈 👉
Swipe left - Previous Track
Swipe right - Next Track
leap_gesture_swipe resized

Circles - A finger tracing a circle in space
👆 Clockwise-circle - Volume Up
Counter-clockwise circle - Volume Down
leap_gesture_circle

ezgif-1-aca0cc16fcd5

Features

  • Our Flask server supports multiple clients concurrently viewing one user's music play experience.

Software Stack

Main.py uses Leap Motion hardware to record gestures and corresponding commands and posts them to the Flask server which renders it for the user.
hackumassstack

Next Steps

😸😸😸
With more time, we would create greater user interactoin. We would use Unity to create a 3D menu of options to configure personal settings. Along with the menu, we would create interactive blocks for more complicated commands such as choosing the next song from a favorites playlist. 20151106-155554b-1024x564
Additionally, we would create multiple modes where users could access additional features. One mode would be the Morse Code Interpreter where users could enter morse code dots with a swipe down motion and see their completed message when ending the Morse Code mode with the swith modes command.
Command to Switch Modes
close-up-two-hands-putting-fingers-together-gesture-count-body-parts-concept-forefingers-69189651

FAQ

👹 😾 😻

  • How can I learn more about Leap Motion?
    The official website for Leap Motion has a great start-up guide for new users, however their sample code for the Python SDK may have some errors. If one finds errors, they can reference our code above.
    https://developer.leapmotion.com/#101
  • Are there similar music-related Leap Motion technologies?
    Composers may be interested in https://lyravr.com/ which allows users to compose music through interactive blocks
  • Will this work on any OS? It has been tested the most on OSX, but it will run on Windows as well. Feel free to submit issues here.

Credits

😁 😺

  • Crystal Rhee
    Northeastern University
    Computer Science and Finance Major

  • Ivan Chen
    Northeastern University
    Computer Science Major

  • Jonathan Shee
    UMass Amherst
    Computer Science Major

  • Timothy Shee: High School 💌 👀 👅 👄 :trollface:

Licensing

MIT License

About

motion activated music controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published