Skip to main content

Your brain has a natural rhythm of electrical impulses that speed up and slow down as you concentrate, relax and process information — but what if you could turn those impulses into music?

That is the premise behind “EEG-Driven Music Generation,” a Senior Design project developed by computer science student Adnan Hossain under the guidance of Associate Lecturer Richard Leinecker. This is one of 180 projects that have been completed as part of the Senior Design capstone courses, which allows engineering and computer science seniors to develop solutions for real-world problems. Following preliminary judging, the top projects advance to the live showcase on Dec. 3 with final winners announced the same day.

The magic behind the music begins when a user slides on a special headband that records the tiny electrical impulses produced by their brain.

“Our software splits the recording into short time slices and measures which rhythms are strongest in each one,” Hossain says. “Each strong rhythm becomes a musical note, with its speed setting the pitch and its strength setting the volume. As a person’s mental state changes, the music changes with it.”

The project not only highlights an innovative method for making music but also provides a new tool for relaxation. Hossain says the music generator could be used as a focus tool to let individuals hear their own mental state. He notes that users with limited mobility could use it as a creative outlet and that researchers could benefit from the data as they seek to understand more about the brain.

Although the project is ready for the showcase, there is still more work to be done. Hossain says he will continue to develop the music generator while Leinecker pens a journal article on the project.

“Now that we have a working pipeline from headband to sound, the next goal is to make it recognize different kinds of mental activity, like relaxing versus concentrating, and give each one a consistent, recognizable sound,” Hossain says. “That means cleaning up artifacts in the signal, using all four sensors together and applying machine learning to make the mapping accurate.”

Facebook
X
LinkedIn
Skip to content