Latest in Science

Image credit:

New algorithm turns 'Lord of the Flies' into an emotional ballad

Emily Price
05.17.14
18 Shares
Share
Tweet
Share
Save

Sponsored Links

Sure, you've read Lord of the Flies, but have you ever danced to it? Well, now you can. Researchers have created a way to digitally compose songs using the text from books. To make the jams, a computer program reads the book, applying sentiment analysis (the same thing marketers use to gauge emotions in tweets) and a special algorithm to assign notes to individual emotions. All those tones are then tied together to create a track that represents the book as a whole. The project, aptly named TransProse, is the creation of Hannah Davis from New York University and Saif Mohammad at the National Research Council Canada.

When it reads, the algorithm is looking for one of eight different emotions: fear, surprise, trust, joy, sadness, disgust and anger. A painful death scene in the book will get assigned a low note, while a joyful celebration will get something higher. To make things flow, the program splits novels up into four different parts: beginning, early middle, late middle and end. Each section has its own unique musical accompaniment, a feature that allows you to travel through the emotions of a story. Right now songs sound more like a beginner's piano lesson than a musical masterpiece, but that could change over time. Its creators hope that the end result is so good the technology might automate the soundtrack for movies, or even power audiovisual e-books that play tunes while you're reading the accompanying text. That could give a whole new meaning to the phrase "audio book." You can read listen to a few more titles at the source link.

[Image credit: Shutterstock]

All products recommended by Engadget are selected by our editorial team, independent of our parent company. Some of our stories include affiliate links. If you buy something through one of these links, we may earn an affiliate commission.
Comment
Comments
Share
18 Shares
Share
Tweet
Share
Save

Popular on Engadget

Engadget's Guide to Privacy

Engadget's Guide to Privacy

View
Volta Football is exactly what 'FIFA 20' needs

Volta Football is exactly what 'FIFA 20' needs

View
Skullcandy's Crusher ANC block noise while you feel the bass

Skullcandy's Crusher ANC block noise while you feel the bass

View
Zero's 2020 electric motorcycles include one that's loaded for adventures

Zero's 2020 electric motorcycles include one that's loaded for adventures

View
‘Call of Duty’ comes to mobile on October 1st

‘Call of Duty’ comes to mobile on October 1st

View

From around the web

Page 1Page 1ear iconeye iconFill 23text filevr