CounterChoice: Counterpoint Composition in Dusa with a Firmus Foundation
Open Access
- 24 August 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 29-42
Abstract
This paper presents CounterChoice, a mixed-initiative creative application which creates a first-species counterpoint composition together with its user. The user provides the first voice, the cantus firmus, through a graphical interface provided as a web application, and CounterChoice generates the counterpoint voice using a logic program written in the finite-choice logic programming language Dusa. The resulting composition is presented both as playable audio and as Dusa code, at which point the user may continue to edit and revise via the same interaction loop. The CounterChoice experiment serves as both a demonstrator application for the Dusa language and a case-study in the development of domain-specific interfaces for modern logic programming languages, so that creators in those domains may access the full potential of such languages for procedural content generation and exploratory play. We present findings on the suitability of Dusa for encoding the formal rules of counterpoint, the impact of Dusa on the frontend interface, and generalizable design recommendations for developers of logic programming languages with similar applications to Dusa.Keywords
This publication has 25 references indexed in Scilit:
- Toward Narrative Instruments2021
- Declarative procedural generation of architecture with semantic architectural profiles2020
- Answer Set Programming2019
- Mixed-initiative content creation2016
- Procedural Content Generation in Games2016
- Answer Set Programming for Procedural Content Generation: A Design Space ApproachIEEE Transactions on Computational Intelligence and AI in Games, 2011
- Automatic music composition using answer set programmingTheory and Practice of Logic Programming, 2011
- Note-against-note two-voice counterpoint by means of fuzzy logicKnowledge-Based Systems, 2010
- An Introduction to Procedural Music in Video GamesContemporary Music Review, 2009
- The future of interactive systems and the emergence of direct manipulation†Behaviour & Information Technology, 1982