AUTHOR=Dannenberg Roger B. TITLE=Languages for Computer Music JOURNAL=Frontiers in Digital Humanities VOLUME=5 YEAR=2018 URL=https://www.frontiersin.org/journals/digital-humanities/articles/10.3389/fdigh.2018.00026 DOI=10.3389/fdigh.2018.00026 ISSN=2297-2668 ABSTRACT=

Specialized languages for computer music have long been an important area of research in this community. Computer music languages have enabled composers who are not software engineers to nevertheless use computers effectively. While powerful general-purpose programming languages can be used for music tasks, experience has shown that time plays a special role in music computation, and languages that embrace musical time are especially expressive for many musical tasks. Time is expressed in procedural languages through schedulers and abstractions of beats, duration and tempo. Functional languages have been extended with temporal semantics, and object-oriented languages are often used to model stream-based computation of audio. This article considers models of computation that are especially important for music programming, how these models are supported in programming languages, and how this leads to expressive and efficient programs. Concrete examples are drawn from some of the most widely used music programming languages.