【24h】

Functional Modelling of Musical Harmony

机译:音乐和谐的功能建模

获取原文
获取原文并翻译 | 示例

摘要

Music theory has been essential in composing and performing music for centuries. Within Western tonal music, from the early Baroque on to modern-day jazz and pop music, the function of chords within a chord sequence can be explained by harmony theory. Although Western tonal harmony theory is a thoroughly studied area, formalising this theory is a hard problem. We present a formalisation of the rules of tonal harmony as a Haskell (generalized) algebraic datatype. Given a sequence of chord labels, the harmonic function of a chord in its tonal context is automatically derived. For this, we use several advanced functional programming techniques, such as type-level computations, datatype-generic programming, and error-correcting parsers. As a detailed example, we show how our model can be used to improve content-based retrieval of jazz songs. We explain why Haskell is the perfect match for these tasks, and compare our implementation to an earlier solution in Java. We also point out shortcomings of the language and libraries that limit our work, and discuss future developments which may ameliorate our solution.
机译:几个世纪以来,音乐理论在音乐创作和表演中都是至关重要的。在西方音调音乐中,从早期的巴洛克风格到现代的爵士和流行音乐,和弦理论中的和弦功能可以用和声理论来解释。尽管西方音调和声理论是一个研究透彻的领域,但使这一理论正式化仍是一个难题。我们将色调协调规则的形式化表示为Haskell(广义)代数数据类型。给定一系列和弦标签,将自动导出和弦在其音调上下文中的和声函数。为此,我们使用了几种高级的功能编程技术,例如类型级别的计算,数据类型通用的编程和纠错解析器。作为一个详细的示例,我们展示了如何使用我们的模型来改进基于内容的爵士乐歌曲检索。我们将解释为什么Haskell是这些任务的理想选择,并将我们的实现与Java中的早期解决方案进行了比较。我们还指出了限制我们工作的语言和库的不足,并讨论了可能改善我们解决方案的未来发展。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号