HMusic: A domain specific language for music programming and live coding

Bois, Andre Rauber Du and Ribeiro, Rodrigo Geraldo

Proceedings of the International Conference on New Interfaces for Musical Expression

This paper presents HMusic, a domain specific language based on music patterns that can be used to write music and live coding. The main abstractions provided by the language are patterns and tracks. Code written in HMusic looks like patterns and multi-tracks available in music sequencers and drum machines. HMusic provides primitives to design and compose patterns generating new patterns. The basic abstractions provided by the language have an inductive definition and HMusic is embedded in the Haskell functional programming language, programmers can design functions to manipulate music on the fly.