Inspiration
Wanting to play Guitar Hero while being College Students. Also Leap Motion looked cool. Also Kade's is a trumpet nerd.
What it does
Achieves your childhood dream of becoming a part of a band.
How we built it
- Used Leap Motion's Python Libraries with a Leap Motion sensor so that the game could detect finger presses.
- Utilized Pygame Library to create a rhythm game that used Leap's Motion Sensors as input.
- Integrated the Python MIDI (https://github.com/vishnubob/python-midi) library to convert songs to map notes as finger combinations for the game.
Challenges we ran into
- Music Theory. There's too much of it. It's not just theory, there's math in it. Kade's smart though in this though.
- Figuring out what is up and what is down with Leap Motion.
- Trying to extract a certain instrumental track out of MIDI files, and then getting notes from the tracks, and then creating a new track from those notes, and then creating a new MIDI file from that track. Also, removing that track from the MIDI file, so it could be used as background music.
- Trying to bring together all the code: connecting the Leap Motion python code and the MIDI track parser with the main Pygame code.
- Finding songs that had a good trumpet part.
- Did I mention Music Theory?
Accomplishments that we're proud of
- Figuring out how to use a deprecated library of Leap Motion with a deprecated version of Python.
- Actually creating MIDI files that work.
- Making Air Trumpeting a thing.
- Somewhat understanding Music Theory.
- Going through 15 Awake Chocolate Bars collectively (and one team member being responsible for half of that).
What we learned
- One small Leap Motion sensor for the world, one giant Leap for trumpet kind.
What's next for Trumpet Hero
- Integrating MIDI converter in the game, so players can pick their own favorite tracks by uploading files from their computer directly rather than converting them with a separate script.

Log in or sign up for Devpost to join the conversation.