While at Stanford's Treehacks - a 36 hour hackathon at Stanford University - I worked with teammates who were interested in education and exploring VR. Our team combined our backgrounds - Software Engineering, Learning Science, and Human-Computer Interaction - to create "Lucid Drums" as an interactive Oculus Quest VR game to improve coordination through rhythm.
I led the UI/UX visual design for the game, and my teammates applied an algorithm to generate rhythms automatically for any song that could then be played in our game.
The hackathon had 1,294 participants and 197 project submissions. It was an incredible experience to present as a finalist team, and we won the grand prize for “Most Creative Hack."
Stanford University
Spring 2020,
36 hours
Laura Beth Fulton
Lilian Gong
Kevin Hsu
Juhi Kushwah
Lucid Drums was motivated by our interest to promote music education and early childhood development. VR was intriquing as a way to provide engagement with music without a physical instrument. The idea was to create a fantastic, virtual reality environment that enables children to explore music through rhythm.
Through our background research, we discovered drumming is also beneficial to medical patients. Rhythm has been shown to help adults who are in recovery who are afflicted by motor impairment and drug addiction. The American Music Therapy Association (AMTA) has published research that shows drums to be particularly effective in helping stroke patients communicate; patterns help patients regain movement and speech ability. Drumming also enhances recovery for patients overcoming drug addiction. Findings published in The American Journal of Public Health highlight that percussion also produces pleasurable experiences which enhance awareness and decrease feelings of isolation.
At Stanford TreeHacks, I wanted to apply design (UI/UX) skills I had been developing through the Master of Human-Computer Interaction program at Carnegie Mellon. The hackathon's hardware lab also provided the opportunity to work with an Oculus Quest. I am especially interested in multi-modal design; focusing on VR was appealing to explore how an experience with drumming could be defined through virtual interactions.
We leveraged the developer version of hand-tracking for the Oculus Quest.
A deep learning recurrent neural network (RNN) model was used to generate beats from songs.
UI assets were created using Figma and effects were animated in Unity.
How can interaction and choices be player-led? With hand tracking, before the player is in the game, they see their hands. To select a game, it is intuitive that their hands become selection tools. It was important to accommodate selection modes for new and experienced players. Before the game starts, players can select a song. For our game we incorporated a handful of songs, but in the future additional selection could include player uploaded songs. New players might select 'Beginner Mode' where a simplified version of a song with fewer beats is played. More practiced drummers might challenge themselved by selecting 'Competitve Mode.'
To make the game realistic, it was critical to give the player auditory and visual cues to hit the drum. When the player hits the drum, a drum sound is heard and sprites (confetti stars) fly from the drum. When a beat is near the drum and the player strikes the drum, whether they hit or miss, the drum gives visual feedback. If correct, the drum glows green and the correct hits score increases. If incorrect, the drum glows a soft red and the number of misses increases.
Tracking the user's hand gestures without a controller to determine whether a user hits a drum on the correct beat was a challenge. In order to detect the user's motion quickly and precisely, we spawned a sphere on each finger, then detected each single sphere if they hit the drum. We implemented an invisible sphere over the drum to aid our beat detection.
We learned that audio can be complex and noisy and that we could improve accuracy of beat detection. We used a Recurrent Neural Network to identify beats, but it was not giving us the desired output; it predicted many false positives. We then used KNN (neighboring methods) to pick the prediction that matched with the true beats in a song. Improved detection gave us the best/appropriate beats that nicely incorporate with each song.
As part of UX game design, it was a challenge to create assets that were appealing, visually consistent, and intuitive for players. To guide users, we developed UI cards that allow players to select songs and level of difficulty. When in-game, we also added pause, restart, and return to menu functionality to give users control options. The aesthetic instructional cards integrate in the VR interface to give intuitive guidance for the game.
We realized that "Lucid Drums" has application in educational, digital therapeutic and medical markets. If we were to understand the impact our game could have in these markets, we could leverage partnerships with school teachers and medical professionals to conduct user research and beta test our game. We also recognized opportunity to customize and uniquely brand the game based on the age of the user, and goal (entertainment vs. rehabilitative).
At the expo, we had students, community members and judges try our game. It was a proud moment to show off our hack and have many players test it. Through demoing we were asked when our game might be brought to market; we plan to publish the game, but currently Oculus hand-tracking is for development use.
We learned through demoing that there is an opportunity to improve beat detection through calibration, and that handtracking was not as accurate for taller players. In the moment, we improvised and got a chair to accommodate players of different heights.
Through our hack we successfully: created a VR beat game for a social good purpose, incorporating elements of fantasy and music; produced a game with hand-tracking functionality that doesn't require a controller and is a more authentic player experience; integrated drum beats from the Stanford Cardinal Calypso and the traditional Scottish Pipes and Drums from Carnegie Mellon into our games (team spirit!).
Our team was selected from almost 200 projects as a Top 8 team to pitch to a live and online livestreamed audience. It was exciting to demo Lucid Drums and share our inspiration to teach young players rhythm, and help adults recovering from motor impairments and drug addiction.
TreeHacks does not have traditional 1st, 2nd or 3rd place winners, but rather recognizes six category winners and four overall grand prizes. For our project, we won the grand prize for "Most Creative Hack."
Our winning project submission is available on DevPost with a link to our Github repo.
If you are interested to learn more about our experience at TreeHacks, Carnegie Mellon published a story of our experience: "HCII Students’ Game Wins "Most Creative" at TreeHacks."
Featuring dog petting, bagpipes as heard in VR, and team demoing.