【24h】

Functional modelling of musical harmony: an experience report

机译:音乐和谐的功能建模:一份经验报告

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

摘要

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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号