Published June 30, 2021 | Version v1
Preprint Open

mimium: a self-extensible programming language for sound and music

  • 1. Kyushu University

Description

We propose a programming language for music named mimium, which combines temporal-discrete control and signal processing in a single language. mimium has an intuitive imperative syntax and can use stateful functions as Unit Generator in the same way as ordinary function definitions and applications. Furthermore, the runtime performance is made equivalent to that of lower-level languages by compiling the code through the LLVM compiler infrastructure. By using the strategy of adding a minimum number of features for sound to the design and implementation of a general-purpose functional language, mimium is expected to lower the learning cost for users, simplify the implementation of compilers, and increase the self-extensibility of the language. In this paper, we present the basic language specification, semantics for simple task scheduling, the semantics for stateful functions, and the compilation process.

mimium has certain specifications that have not been achieved in existing languages. Future works suggested include extending the compiler functionality to combine task scheduling with the functional paradigm and introducing multi-stage computation for parametric replication of stateful functions.

Files

mimium_preprint.pdf

Files (1.4 MB)

Name Size Download all
md5:bb02ec4a2dcf34d4bec350cc7b190ceb
1.4 MB Preview Download

Additional details

Related works

Is previous version of
Conference paper: 10.1145/3471872.3472969 (DOI)