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

  1. Used Leap Motion's Python Libraries with a Leap Motion sensor so that the game could detect finger presses.
  2. Utilized Pygame Library to create a rhythm game that used Leap's Motion Sensors as input.
  3. 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

  1. 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.
  2. Figuring out what is up and what is down with Leap Motion.
  3. 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.
  4. Trying to bring together all the code: connecting the Leap Motion python code and the MIDI track parser with the main Pygame code.
  5. Finding songs that had a good trumpet part.
  6. Did I mention Music Theory?

Accomplishments that we're proud of

  1. Figuring out how to use a deprecated library of Leap Motion with a deprecated version of Python.
  2. Actually creating MIDI files that work.
  3. Making Air Trumpeting a thing.
  4. Somewhat understanding Music Theory.
  5. Going through 15 Awake Chocolate Bars collectively (and one team member being responsible for half of that).

What we learned

  1. One small Leap Motion sensor for the world, one giant Leap for trumpet kind.

What's next for Trumpet Hero

  1. 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.
Share this project:

Updates