Abstract
This paper describes a dynamic ‘live’ music notation project using common practice Western notation (CPWN) ‘glyphs’ natively within SuperCollider. The project builds on work presented in a new co-authored ‘Notations’ chapter in the 2nd edition of ‘The SuperCollider Book’, and aims to avoid any dependency on third-party music software common to related projects. A barrier to native SuperCollider implementation begins with displaying music glyphs. Since a specialist music font is required, glyphs cannot usefully be pasted as Unicode UTF-8 into an IDE. A dependency helper class translates between Unicode binary and hex encodings so that non-ASCII characters can be easily referred to and displayed in SuperCollider. Using Unicode identifiers and working specifically with music fonts, the W3C initiative ‘SMuFL’ (Standard Music Font Layout) enables font interoperability between different notation softwares. To avoid collisions between glyphs, SMuFL metadata is imported into the class, and dependency classes using computational geometry such as the ‘Graham scan’ algorithm and the Separating Axis Theorem are used to avoid glyph collision. Using a MVC design, the software class employs these approaches to display CPWN musical glyphs natively within SuperCollider in a manner that is both dynamic and responsive, whilst obeying complex engraving rules overlooked in some other related software environments.