kirancodes.me
To Proof Maintenance & Beyond!

Well-typed music does not sound wrong (experience report)

Dmitrij Szamozvancev, Michael B. Gale

Abstract

Music description and generation are popular use cases for Haskell, ranging from live coding libraries to automatic harmonisation systems. Some approaches use probabilistic methods, others build on the theory of Western music composition, but there has been little work done on checking the correctness of musical pieces in terms of voice leading, harmony, and structure. Haskell's recent additions to the type-system now enable us to perform such analysis statically.

Related papers