According to experts, songs can be created using people’s brainwaves instead of sheet music.
They recreated Pink Floyd’s 1979 hit “Another Brick in the Wall” using electrical activity recorded by people listening to the original.
Thousands of electrodes placed on the heads of 29 patients mapped the brain’s response to specific tones of the tune.
This was then converted into a spectrogram – a type of graph representing sound waves – and read by a computer to convert it back into a melody.
The result was the distorted but recognizable chorus melody of the Roger Waters-composed classic.
US scientists hope the work could lead to more natural computer voices for people who can’t speak.
Prof Robert Knight said: “It offers a way of bringing musicality to brain implants.”
“Brick In The Wall” topped the UK and US charts and sold over four million copies.