Functional generation of harmony and melody

José Pedro Magalhães, Hendrik Vincent Koops
{"title":"Functional generation of harmony and melody","authors":"José Pedro Magalhães, Hendrik Vincent Koops","doi":"10.1145/2633638.2633645","DOIUrl":null,"url":null,"abstract":"We present FComp, a system for automatic generation of harmony and accompanying melody. Building on previous work on functional modelling of musical harmony, FComp first creates a foundational harmony by generating random (but user-guided) values of a datatype that encodes the rules of tonal harmony. Then, a melody that fits to the harmony is generated in a compositional sequence: generate all \"possible\" melodies, filter them to remove obvious bad choices, pick one candidate note per chord, and then embellish the resulting melodic line.\n At this very early stage, we aim to define a solid system as a foundation that can be used to further improve upon. We care especially about modularity, so that each individual part of the pipeline can be easily improved, and ease of adaptation, so that users can quickly adapt the generated music to their liking. The resulting system generates simple but harmonious music, and serves as a good case study on how functional programming enables quick and clean prototyping of new ideas, even in the realm of automatic music composition.","PeriodicalId":88474,"journal":{"name":"El Farmaceutico","volume":"63 1","pages":"11-21"},"PeriodicalIF":0.0000,"publicationDate":"2014-09-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"El Farmaceutico","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2633638.2633645","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

We present FComp, a system for automatic generation of harmony and accompanying melody. Building on previous work on functional modelling of musical harmony, FComp first creates a foundational harmony by generating random (but user-guided) values of a datatype that encodes the rules of tonal harmony. Then, a melody that fits to the harmony is generated in a compositional sequence: generate all "possible" melodies, filter them to remove obvious bad choices, pick one candidate note per chord, and then embellish the resulting melodic line. At this very early stage, we aim to define a solid system as a foundation that can be used to further improve upon. We care especially about modularity, so that each individual part of the pipeline can be easily improved, and ease of adaptation, so that users can quickly adapt the generated music to their liking. The resulting system generates simple but harmonious music, and serves as a good case study on how functional programming enables quick and clean prototyping of new ideas, even in the realm of automatic music composition.
和声和旋律的功能生成
我们提出了FComp,一个自动生成和声和伴奏旋律的系统。FComp在先前音乐和谐的功能建模工作的基础上,首先通过生成编码音调和谐规则的数据类型的随机(但由用户引导)值来创建基本的和谐。然后,在作曲序列中生成适合和声的旋律:生成所有“可能”的旋律,过滤它们以删除明显的错误选择,每个和弦选择一个候选音符,然后修饰最终的旋律线。在这个非常早期的阶段,我们的目标是定义一个坚实的系统,作为可以用来进一步改进的基础。我们特别注重模块化,使流水线的每个单独部分都可以很容易地改进,并且易于适应,让用户可以快速地根据自己的喜好调整生成的音乐。由此产生的系统产生了简单而和谐的音乐,并作为一个很好的案例来研究函数式编程如何使新想法的原型快速而清晰,甚至在自动音乐作曲领域也是如此。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信