首页    期刊浏览 2025年07月14日 星期一
登录注册

文章基本信息

  • 标题:Musikla: Language for Generating Musical Events
  • 本地全文:下载
  • 作者:Pedro Miguel Oliveira da Silva ; Jos Jo{~a}o Almeida
  • 期刊名称:OASIcs : OpenAccess Series in Informatics
  • 电子版ISSN:2190-6807
  • 出版年度:2020
  • 卷号:83
  • 页码:6:1-6:16
  • DOI:10.4230/OASIcs.SLATE.2020.6
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:In this paper, we'll discuss a simple approach to integrating musical events, such as notes or chords, into a programming language. This means treating music sequences as a first class citizen. It will be possible to save those sequences into variables or play them right away, pass them into functions or apply operators on them (like transposing or repeating the sequence). Furthermore, instead of just allowing static sequences to be generated, we'll integrate a music keyboard system that easily allows the user to bind keys (or other kinds of events) to expressions. Finally, it is important to provide the user with multiple and extensible ways of outputing their music, such as synthesizing it into a file or directly into the speakers, or writing a MIDI or music sheet file. We'll structure this paper first with an analysis of the problem and its particular requirements. Then we will discuss the solution we developed to meet those requirements. Finally we'll analyze the result and discuss possible alternative routes we could've taken.
  • 关键词:Domain Specific Language; Music Notation; Interpreter; Programming Language
国家哲学社会科学文献中心版权所有