PsyPost
  • Mental Health
  • Social Psychology
  • Cognitive Science
  • Neuroscience
  • About
No Result
View All Result
Join
My Account
PsyPost
No Result
View All Result
Home Exclusive Music

Scientists decode imagined melodies from human brain waves

by Karina Petrova
October 7, 2026
Reading Time: 4 mins read
[Adobe Stock]

[Adobe Stock]

Share on TwitterShare on Facebook

Researchers have successfully decoded the basic structure of imagined melodies from human brain waves by focusing on how notes relate to one another rather than their exact pitch. Published in the journal eNeuro, the small study demonstrates that computer models can reconstruct the general rising and falling contours of a silent song directly from neural recordings. These results show that the brain’s internal auditory experiences can be accessed and translated into recognizable musical sequences.

When we recognize a familiar song, we do not usually rely on the exact acoustic frequencies of the notes. We rely on relative pitch, which is the interval or distance between successive tones. This is why a song like “Twinkle, Twinkle, Little Star” sounds identical whether it is played on a high-pitched flute or a low-pitched tuba. The human brain naturally encodes these relational patterns, allowing people to carry tunes across different keys and instruments.

Imagining music engages many of the same neural networks as actually listening to it. When a person hears a song in their head, their brain generates an internal auditory experience. Extracting this hidden musical content from brain activity is highly difficult. Past attempts have mostly detected the presence of musical thought or basic rhythmic beats.

Predicting the actual melody a person is imagining requires capturing rapid, fine-grained changes in brain activity. Absolute pitch is tied to specific sound wave frequencies. Because most human brains process melodies relatively, attempting to decode exact absolute pitches often fails.

To address this challenge, researchers Jii Kwon and Chun Kee Chung from Seoul National University led a team to investigate whether neural decoding models could identify imagined melodies using a relative pitch framework. They wanted to see if they could predict individual imagined notes by their scale degree, like “Do” or “Re,” regardless of the starting key.

The researchers conducted a small study involving 10 patients with medically intractable epilepsy. These patients already had arrays of electrodes surgically implanted directly on the surface of their brains for clinical evaluation. This recording technique, called electrocorticography, provides a highly detailed look at electrical activity across the cerebral cortex. The direct contact with the brain tissue allows sensors to pick up high-frequency signals that external scalp monitors often miss.

During the experiment, the patients listened to short segments of familiar children’s songs, such as “Yankee Doodle.” The songs were played in three different musical keys. The researchers instructed the patients to listen to the first two measures of a song and then silently imagine the next two measures. To ensure they were actually following the tune, the patients hummed the melody aloud after the silent imagination period ended.

As the patients imagined the music, the scientists recorded their brain activity. They focused on specific electrical patterns known as high-gamma activity. These rapid brain waves oscillate between 60 and 150 times per second and are a reliable indicator of active sensory processing. The team isolated the signals coming from regions like the superior temporal gyrus, an area on the side of the brain heavily involved in processing sounds.

Google News Preferences Add PsyPost to your preferred sources

The researchers took this neural data and trained a machine learning program to recognize patterns associated with specific relative pitches. They broke the imagination period into half-second segments, matching each segment to a specific note in the song. The model learned to categorize the brain waves into six relative pitch classes. These classes correspond to the solfège syllables Do, Re, Mi, Fa, Sol, and La.

The research team then tested the computer models on a fresh set of brain recordings that the models had not seen before. The computer tried to guess which relative note the patient was imagining during each half-second window. The accuracy for these single-note predictions was modest, sitting around 26 percent on average. While this number might seem low, a random guess would only be correct about 16 percent of the time, meaning the models were successfully extracting real musical information.

The team also tried to decode the exact acoustic frequencies, or absolute pitches, from the same brain data. In this test, the models failed to perform better than a random guess. The results were not statistically significant for absolute pitch, supporting the view that the brain primarily represents the imagined melody through relative pitch relationships.

Although predicting individual notes was difficult, the researchers found success when they linked the individual predictions together over time. By arranging the decoded relative pitches in sequence, they reconstructed the overall melodic contour of the imagined songs. These reconstructed sequences generally matched the ascending and descending patterns of the original melodies. Even when a specific note prediction was slightly off, the overall shape of the song remained intact.

By looking closer at the data, the researchers identified which brain areas provided the most useful information for the computer models. Activity in the superior temporal gyrus on both sides of the brain was a major contributor. They also found helpful signals in the left precentral gyrus, a brain region often linked to motor planning. This suggests that internally imagining a melody might involve a mental rehearsal of the physical actions required to sing it.

While these findings present a novel way to access internal musical thoughts, the approach has several practical limitations. The accuracy of predicting individual notes remains relatively low. Reconstructing a perfectly accurate melody note-for-note is not yet possible with current methods. The reconstructed melodies rely on the general shape of the song rather than flawless individual predictions.

The study also relied exclusively on highly familiar children’s songs. Familiar melodies are deeply ingrained in memory, which likely helps patients produce stable and consistent internal imagery. Because of this, it is unknown if the models could decode novel or spontaneously composed melodies. Spontaneous imagination might not generate the same robust neural patterns as recalling a well-learned tune.

The need for surgically implanted electrodes restricts this technology to clinical settings. The invasive nature of electrocorticography means this specific method cannot be adapted into a wearable device for the general public. Future studies will likely explore whether non-invasive techniques can capture similar relative pitch information. Expanding the computer models to decode a wider range of notes across multiple octaves will also be a priority for subsequent research.

The study, “Reconstruction of Imagined Melody with Relative Pitch Decoding in Electrocorticography,” was authored by Jii Kwon, Youmin Shin, June sic Kim, Eunju Jeong, Sung-Phil Kim, Eun Jung Lee, and Chun Kee Chung.

TweetSendScanShareSendPinShareShareShareShareShare

Follow PsyPost

The latest research, however you prefer to read it.

Daily newsletter

One email a day. The newest research, nothing else.

Google News

Get PsyPost stories in your Google News feed.

Add PsyPost to Google News
RSS feed

Use your favorite reader.

Copy RSS URL
Social media
Support independent science journalism

Ad-free reading, full archives, and weekly deep dives for members.

Become a member

Trending

  • Problematic pornography use is linked to craving, shame, depression, and loneliness, meta-analysis finds
  • New study links sexual objectification at home to young women’s difficulty saying no to unwanted sex
  • Study of 2.5 million children finds no link between MMR vaccine and autism
  • Psychologists identify “collective anti-mattering” as a key driver of modern political grievances
  • Americans often fail to notice when Democrats and Republicans are moving in the same direction

Science of Money

  • How social safety nets are linked to longer lives globally
  • How 3D logos influence brand trust and consumer behavior
  • The psychology of startup drive: how passion translates into business results
  • People prefer negotiating with women, even when outcomes are identical and gender is hidden
  • Remote work costs you 21 minutes of exercise a day, study finds

Recent

  • Newborn circumcision is not linked to autism, large U.S. study finds
  • Tripping during a political convention was linked to more support for political violence in a recent psychedelic study
  • The brain may use a shared code for gender across faces, bodies, and objects
  • Narcissism and psychopathy are closely linked in women serving prison sentences
  • People shift their political opinions to match the room in small group chats
  • Parents of transgender youth faced declining mental health after the 2025 inauguration
  • Salsa dancing can ease depressive symptoms in young adults, randomized trial finds
  • Talking to yourself on psilocybin may be a good sign in alcohol treatment, small study hints
  • How the TikTok algorithm changed political campaigning in 2024
  • Sexual satisfaction is more closely tied to orgasm for women than for men, study finds

PsyPost is a psychology and neuroscience news website dedicated to reporting the latest research on human behavior, cognition, and society. (READ MORE...)

  • Mental Health
  • Neuroimaging
  • Personality Psychology
  • Social Psychology
  • Artificial Intelligence
  • Cognitive Science
  • Psychopharmacology
  • Contact us
  • Disclaimer
  • Privacy policy
  • Terms and conditions

(c) PsyPost Media Inc

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

Subscribe
  • My Account
  • Cognitive Science Research
  • Mental Health Research
  • Social Psychology Research
  • Drug Research
  • Relationship Research
  • About PsyPost
  • Contact
  • Privacy Policy

(c) PsyPost Media Inc