TransProse Algorithm Turns Literature into Music

Posted on May 19, 2014

An algorithm, named TransProse, turns literature into music. The program, developed by Hannah Davis at New York University and Saif Mohammad at the National Research Council Canada, translates the basic emotions of the novel into a musical piece. A research paper on the algorithm can be found here in the journal Computation and Language.

The algorithm is explained here on Medium. TransProse divides a novel into four parts, the beginning, early middle, late middle and the ending. TransProse then uses a set of statistics to describe the way different emotions rise and fall in each section. These data is the used to create the background music for each section.







You can listen to more of the novels on musicfromtext.com.
More from Writers Write


  • Salman Rushdie is Writing Novel With Trump-Like Villain


  • Javaka Steptoe Wins 2017 Caldecott Medal for Radiant Child: The Story of Young Artist Jean-Michel Basquiat


  • New York Times Dumps Comics and Mass Market Paperback Bestseller Lists




  • Kelly Barnhill Wins 2017 Newbery Medal for The Girl Who Drank the Moon


  • A French Translator Describes the Difficulty of Translating President Trump