Rosemary Johnson was a promising violinist and member of the Welsh National Opera Orchestra when she was involved in a devastating car crash 27 years ago. The accident left her in a coma for seven months, and the resulting brain damage has robbed her of most of her ability to talk and move.
But thanks to new software that reads people's brain waves, Johnson has been able to compose music for the first time since 1988, and has had the chance to have it played to her in real time by a professional string quartet.
"It was really very moving," Eduardo Miranda from the Interdisciplinary Centre for Computer Music Research at Plymouth University in the UK, told The Telegraph.
"The first time we tried with Rosemary we were in tears. We could feel the joy coming from her at being able to make music. It was perfect because she can read music very well and make a very informed choice."
The software has been developed as part of a 10-year program led by Plymouth University, and works by hooking a patient up to an EEG cap, which reads electrical information from their brain. This allows a patient to select musical notes and phrases with their mind, simply by focussing on different coloured lights on a computer screen.
"The great achievement of this project is that it is possible to perform music without being able to actually move. She is essentially controlling another musician to play it for her," said Miranda. "It’s not yet possible to read thoughts but we can train people to use brain signals to control things."
Three other patients have also been involved in the trial, and together with Johnson, they've each been able to compose music for one of the musicians in the Bergesen string quartet.
The composition happens in real time, with each patient slightly altering and adding music as they go, and the musicians playing it live.
Together, they've called themselves The Paramusical Ensemble, and they've already recorded a piece of music called Activating Memory, which will be played later this month at the Peninsula Arts Contemporary Music Festival in Plymouth.
Before this, Johnson was only able to play a few chords at the piano with the help of her mother, who explains that the new project has been a huge help.
"Music is really her only motivation," she said. "When she performed I went to the hospital and that is the first time I have heard her make music, other than the piano chords for a long, long time."
It's an incredible project that shows just how far scientists have come in being able to unlock the thoughts and actions of disabled people simply by reading their brainwaves. Similar technology has allowed a paralysed woman to fly a fighter jet using nothing but her thoughts, while a patient in the US was able to walk last year, thanks to a program that rerouted his brainwaves straight to his legs, skipping his damaged spinal cord altogether.
Scientists are now getting so good at reading our brainwaves that computer programs can decode people's thoughts almost in real time. That might sound creepy, but this technology could help people who are suffering from brain or spinal cord damage to be able to communicate and maybe even move freely again - which means we're finally beginning to push at the constraints of our vulnerable human bodies. It's an exciting time to be alive.