Journal Article
Putting Programs on Paper With ScoreCard: Generative Music Pieces as QR Codes
Journal of the Audio Engineering Society · Volume 73 · Issue 12 · pp. 890–899 · December 2025
Abstract
Quick Response (QR) codes are typically used to store small pieces of metadata (URLs, product codes, contact information) that serve as links or pointers to larger resources (websites, product databases, people). This work explores the possibility of repurposing QR codes to store complete, self-contained generative music pieces and the resulting technical and musical challenges and opportunities. ScoreCard is a web application that enables users to scan and play QR codes (e.g., from “printed programs” on physical cards or from other users’ screens) containing generative music pieces in the form of WebAssembly programs. This paper describes the design and implementation of ScoreCard, considers techniques for writing musical programs that fit within the size constraints of the format, and presents several musical examples and pieces written for or ported to this medium. Lastly, it showcases some recent extensions to ScoreCard: live visualization via execution tracing and a card creation application (including a compiler) that runs in the browser..
