A methodology for procedural piano music composition with mood templates using genetic algorithms

L. Rocha de Azevedo Santos, C. N. Silla Jr, Márjory Da Costa-Abreu
{"title":"A methodology for procedural piano music composition with mood templates using genetic algorithms","authors":"L. Rocha de Azevedo Santos, C. N. Silla Jr, Márjory Da Costa-Abreu","doi":"10.1049/icp.2021.1435","DOIUrl":null,"url":null,"abstract":"Creating music in an automatic way has been studied since the beginning of artificial intelligence. One of the biggest obstacles of music generation is the vagueness and subjectivity of the mood or emotion transmitted by a music piece. In this work, we experiment with the generation of piano music using template pieces, represented in MIDI format, as a mood directive. We generated a population of random pieces for templates of two opposing moods - happy and sad - and evolved them with a genetic algorithm until their intended mood was close enough to their respective templates. The fitness function that we implemented uses MIDI statistical features to calculate the distance between the given piece and the template. The generated music pieces were evaluated by human listeners thorough a questionnaire. This evaluation has shown that the generated music pieces were able to express the same mood as the template. However, they still sounded computer-generated, probably due to the lack of rhythm regularity and synchronicity.","PeriodicalId":431144,"journal":{"name":"11th International Conference of Pattern Recognition Systems (ICPRS 2021)","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"11th International Conference of Pattern Recognition Systems (ICPRS 2021)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1049/icp.2021.1435","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Creating music in an automatic way has been studied since the beginning of artificial intelligence. One of the biggest obstacles of music generation is the vagueness and subjectivity of the mood or emotion transmitted by a music piece. In this work, we experiment with the generation of piano music using template pieces, represented in MIDI format, as a mood directive. We generated a population of random pieces for templates of two opposing moods - happy and sad - and evolved them with a genetic algorithm until their intended mood was close enough to their respective templates. The fitness function that we implemented uses MIDI statistical features to calculate the distance between the given piece and the template. The generated music pieces were evaluated by human listeners thorough a questionnaire. This evaluation has shown that the generated music pieces were able to express the same mood as the template. However, they still sounded computer-generated, probably due to the lack of rhythm regularity and synchronicity.
基于遗传算法的情绪模板程序化钢琴音乐创作方法
自人工智能出现以来,人们一直在研究自动创作音乐。音乐产生的最大障碍之一是音乐作品所传达的情绪或情感的模糊性和主观性。在这项工作中,我们尝试使用模板片段生成钢琴音乐,以MIDI格式表示,作为情绪指示。我们为两种相反情绪的模板——快乐和悲伤——随机生成了一组样本,并通过遗传算法对它们进行进化,直到它们的预期情绪与各自的模板足够接近。我们实现的适应度函数使用MIDI统计特征来计算给定块与模板之间的距离。生成的音乐片段由人类听众通过问卷进行评估。这一评估表明,生成的音乐片段能够表达与模板相同的情绪。然而,它们听起来仍然是电脑生成的,可能是由于缺乏节奏规律和同步性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信