Proceedings

Algorithmic Composition Using Narrative Structure and Tension

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. AI, Arts & Creativity. Pages 10045-10053.

https://doi.org/10.24963/ijcai.2025/1116

Abstract

This paper describes an approach to algorithmic music composition that takes narrative structures as input, allowing composers to create music directly from narrative elements.

Creating narrative development in music remains a challenging task in algorithmic composition.

Our system addresses this by combining leitmotifs to represent characters, generative grammars for harmonic coherence, and evolutionary algorithms to align musical tension with narrative progression.

The system operates at different scales, from overall plot structure to individual motifs, enabling both autonomous composition and co-creation with varying degrees of user control.

Evaluation with compositions based on tales demonstrated the system's ability to compose music that supports narrative listening and aligns with its source narratives, while being perceived as familiar and enjoyable.

  1. [Almén, 2003] Byron Almén. Narrative archetypes: A cri- tique, theory, and method of narrative analysis. Journal of Music Theory, 47(1):1-39, 2003.
  2. [Bernardes et al., 2016] Gilberto Bernardes, Diogo Cocharro, Marcelo Caetano, Carlos Guedes, and Matthew EP Davies. A multi-level tonal interval space for modelling pitch relatedness and musical consonance. Journal of New Music Research, 45(4):281-294, 2016.
  3. [Brown, 2012] Daniel Brown. Mezzo: An adaptive, real- time composition program for game soundtracks. Pro- ceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, 8(4):68-72, 2012.
  4. [Carnovalini and Rodà, 2020] Filippo Carnovalini and Anto- nio Rodà. Computational creativity and music generation systems: An introduction to the state of the art. Frontiers in Artificial Intelligence, 3:14, 2020.
  5. [Casella and Paiva, 2001] Pietro Casella and Ana Paiva. Ma- genta: An architecture for real time automatic composition of background music. In International Workshop on Intel- ligent Virtual Agents, pages 224-232. Springer, 2001.
  6. [Chew, 2002] Elaine Chew. The spiral array: An algorithm for determining key boundaries. In International Confer- ence on Music and Artificial Intelligence, pages 18-31. Springer, 2002.
  7. [Cui et al., 2024] Wenqian Cui, Pedro Sarmento, and Math- ieu Barthet. MoodLoopGP: Generating emotion- conditioned loop tablature music with multi-granular fea- tures. In International Conference on Computational Intel- ligence in Music, Sound, Art and Design (Part of EvoStar), pages 97-113. Springer, 2024.
  8. [Davis and Mohammad, 2014] Hannah Davis and Saif Mo- hammad. Generating music from literature. In Association for Computational Linguistics, editor, Proceedings of the 3rd Workshop on Computational Linguistics for Literature (CLfL) @ EACL, pages 1-10, April 2014.
  9. [Deb et al., 2002] Kalyanmoy Deb, Amrit Pratap, Sameer Agarwal, and TAMT Meyarivan. A fast and elitist mul- tiobjective genetic algorithm: Nsga-ii. IEEE transactions on evolutionary computation, 6(2):182-197, 2002.
  10. [Déguernel et al., 2022] Ken Déguernel, Mathieu Giraud, Richard Groult, and Sebastien Gulluni. Personalizing AI for co-creative music composition from melody to struc- ture. In Sound and Music Computing (SMC 2022), pages 314-321, 2022.
  11. [Emmerich and Deutz, 2018] Michael TM Emmerich and André H Deutz. A tutorial on multiobjective optimization: fundamentals and evolutionary methods. Natural comput- ing, 17:585-609, 2018.
  12. [Ens and Pasquier, 2020] Jeff Ens and Philippe Pasquier. Flexible generation with the multi-track music machine. In Proceedings of the 21st International Society for Mu- sic Information Retrieval Conference (ISMIR), pages 1-2, 2020.
  13. [Farbood et al., 2004] Morwaread M Farbood, Egon Pasztor, and Kevin Jennings. Hyperscore: a graphical sketchpad for novice composers. IEEE Computer Graphics and Ap- plications, 24(1):50-54, 2004.
  14. [Farbood, 2012] Morwaread M Farbood. A parametric, temporal model of musical tension. Music Perception, 29(4):387-428, 2012.
  15. [Fergusson, 2016] A Fergusson. Designing online ex- periments using Google forms+ random redirect tool, 2016. Retrieved from https://teaching.statistics-is- awesome.org/designing-online-experiments-using- google-forms-random-redirect-tool. Link
  16. [Fernández and Vico, 2013] Jose D Fernández and Francisco Vico. AI methods in algorithmic composition: A compre- hensive survey. Journal of Artificial Intelligence Research, 48:513-582, 2013.
  17. [Gervás and Méndez, 2024] Pablo Gervás and Gonzalo Méndez. Evolutionary plot arcs for a series of neurally- generated episodes. In 15th International Conference on Computational Creativity (ICCC 2024), 2024.
  18. [Gervás, 2017] Pablo Gervás. Comparative evaluation of el- ementary plot generation procedures. In Proceedings of the 6th International Workshop on Computational Creativ- ity, Concept Invention, and General Intelligence, 2017.
  19. [Gervás, 2018a] Pablo Gervás. Storifying observed events: Could i dress this up as a story. In 5th AISB Symposium on Computational Creativity. AISB, AISB, University of Liv- erpool, UK, 2018.
  20. [Gervás, 2018b] Pablo Gervás. Targeted storyfying: Creat- ing stories about particular events. In 9th International Conference on Computational Creativity (ICCC 2018), pages 232-239, 2018.
  21. [Gervás, 2019] Pablo Gervás. Generating a search space of acceptable narrative plots. In 10th International Con- ference on Computational Creativity (ICCC 2019).
  22. [Guo et al., 2020] Rui Guo, Ivor Simpson, Thor Magnusson, Chris Kiefer, and Dorien Herremans. A variational au- toencoder for music generation controlled by tonal ten- sion. arXiv preprint arXiv:2010.06230, 2020.
  23. [Guo et al., 2022] Rui Guo, Ivor Simpson, Chris Kiefer, Thor Magnusson, and Dorien Herremans. MusIAC: An extensible generative framework for music infilling appli- cations with multi-level control. In International Confer- ence on Computational Intelligence in Music, Sound, Art and Design (Part of EvoStar), pages 341-356. Springer, 2022.
  24. [Herremans and Chew, 2017] Dorien Herremans and Elaine Chew. MorpheuS: generating structured music with con- strained patterns and tension. IEEE Transactions on Affec- tive Computing, 10(4):510-523, 2017.
  25. [Herremans et al., 2016] Dorien Herremans, Elaine Chew, et al. Tension ribbons: Quantifying and visualising tonal tension. In Proceedings of the Second International Con- ference on Technologies for Music Notation and Represen- tation (TENOR), 2016.
  26. [Herremans et al., 2017] Dorien Herremans, Ching-Hua Chuan, and Elaine Chew. A functional taxonomy of music generation systems. ACM Computing Surveys (CSUR), 50(5):1-30, 2017.
  27. [Jeong et al., 2017] Jaehun Jeong, Yusung Kim, and Chang Wook Ahn. A multi-objective evolutionary ap- proach to automatic melody generation. Expert Systems with Applications, 90:50-61, 2017.
  28. [Jeong et al., 2022] Jae-Hun Jeong, Eunbin Lee, Jong-Hyun Lee, and Chang Wook Ahn. Multi-objective deep network- based estimation of distribution algorithm for music com- position. IEEE Access, 10:71973-71985, 2022.
  29. [Krumhansl, 1996] Carol L Krumhansl. A perceptual anal- ysis of Mozart's Piano Sonata K. 282: Segmentation, ten- sion, and musical ideas. Music perception, 13(3):401-432, 1996.
  30. [Lerdahl and Jackendoff, 1996] Fred Lerdahl and Ray S Jackendoff. A Generative Theory of Tonal Music, reissue, with a new preface. MIT Press, 1996.
  31. [Lerdahl and Krumhansl, 2007] Fred Lerdahl and Carol L Krumhansl. Modeling tonal tension. Music perception, 24(4):329-366, 2007.
  32. [Lerdahl, 2001] Fred Lerdahl. Tonal pitch space. Oxford University Press, 2001.
  33. [Lopez and Alvaro, 2024] Duarte Lopez and Eduardo Alvaro. A progressive-adaptive music generator (PAMG): An approach to interactive procedural mu- sic for videogames. In Proceedings of the 12th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling, and Design, pages 65-72, 2024.
  34. [Louie et al., 2020] Ryan Louie, Any Cohen, Cheng- Zhi Anna Huang, Michael Terry, and Carrie J Cai. Cococo: AI-steering tools for music novices co-creating with generative models. In Joint Proceedings of the Workshops on Human-AI Co-Creation with Generative Models and User-Aware Conversational Agents co- located with 25th International Conference on Intelligent User Interfaces (IUI), 2020.
  35. [Madsen and Fredrickson, 1993] Clifford K Madsen and William E Fredrickson. The experience of musical ten- sion: A replication of Nielsen's research using the contin- uous response digital interface. Journal of Music Therapy, 30(1):46-63, 1993.
  36. [Margulis et al., 2019] Elizabeth Hellmuth Margulis, Patrick CM Wong, Rhimmon Simchy-Gross, and J Devin McAuley. What the music said: Narrative listening across cultures. Palgrave Communications, 5(146), 2019.
  37. [Margulis et al., 2022] Elizabeth H Margulis, Patrick CM Wong, Cara Turnbull, Benjamin M Kubit, and J Devin McAuley. Narratives imagined in response to in- strumental music reveal culture-bounded intersubjectiv- ity. Proceedings of the National Academy of Sciences, 119(4):e2110406119, 2022.
  38. [Maus, 1988] Fred Everett Maus. Music as drama. Music theory spectrum, 10(1):56-73, 1988.
  39. [Micchi et al., 2021] Gianluca Micchi, Louis Bigo, Mathieu Giraud, Richard Groult, and Florence Levé. I keep count- ing: An experiment in human/AI co-creative songwriting. Transactions of the International Society for Music Infor- mation Retrieval (TISMIR), 4(1):263-275, 2021.
  40. [Navarro-Cáceres et al., 2019] María Navarro-Cáceres, Marcelo Caetano, Gilberto Bernardes, and Leandro Nunes de Castro. ChordAIS: An assistive system for the generation of chord progressions with an artificial im- mune system. Swarm and Evolutionary Computation, 50:100543, 2019.
  41. [Navarro-Cáceres et al., 2020] María Navarro-Cáceres, Marcelo Caetano, Gilberto Bernardes, Mercedes Sánchez- Barba, and Javier Merchán Sánchez-Jara. A computational model of tonal tension profile of chord progressions in the tonal interval space. Entropy, 22(11):1291, 2020.
  42. [Prechtl et al., 2014] Anthony Prechtl, Robin Laney, Alistair Willis, and Robert Samuels. Algorithmic music as intelli- gent game music. In Proceedings of the 50th Annual Con- vention of the AISB, London, UK, April 2014.
  43. [Propp, 1968] Vladimir Propp. Morphology of the Folktale. University of Texas Press, 1968.
  44. [Rohrmeier, 2011] Martin Rohrmeier. Towards a generative syntax of tonal harmony. Journal of Mathematics and Mu- sic, 5(1):35-53, 2011.
  45. [Ruiz-Marcos, 2021] Germán Ruiz-Marcos. Tension-driven automatic music generation. PhD thesis, Open University (United Kingdom), 2021.
  46. [Tchemeube et al., 2023] Renaud Bougueng Tchemeube, Jeffrey Ens, Cale Plut, Philippe Pasquier, Maryam Safi, Yvan Grabit, and Jean-Baptiste Rolland. Evaluating human-AI interaction via usability, user experience and acceptance measures for MMM-C: A creative AI system for music composition. In Proceedings of the Thirty- Second International Joint Conference on Artificial Intel- ligence, IJCAI '23, pages 5769-5778, 2023. IJCAI
  47. [Zacharakis et al., 2021] Asterios Zacharakis, Maximos Kaliakatsos-Papakostas, Stamatia Kalaitzidou, and Emilios Cambouropoulos. Evaluating human-computer co-creative processes in music: A case study on the CHAMELEON melodic harmonizer. Frontiers in Psychology, 12:603752, 2021.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards