Interactive music encoding with Verovio
Authors: Pugin, Laurent / Hankinson, Andrew
Date: Monday, 4 September 2023, 9:15am to 5:45pm
Location: HNI, Room F1.110 <hni:measure>
One of the unique features of Verovio is that it renders music notation into SVG where the original structure of the MEI is preserved as much as possible. Not only is the original XML tree structure of the MEI preserved in the SVG, but also element XML IDs and element names through corresponding SVG class names. Verovio features a set of methods for retrieving information about MEI elements in the rendering context, including time-related information in MIDI sound files—another output format that Verovio can produce. This design allows the SVG music notation to serve as an interaction layer for building dynamic applications of various kinds.
The learning outcomes for the workshop will be:
- to understand the overall architecture of Verovio and the ways it can be used.
- to know how to create a minimal webpage integrating Verovio rendering.
- to understand how the SVG output in Verovio acts as an interaction layer.
- to understand how to load Verovio in Python scripting environments.
- to know how to write a minimal script that processes music encoding files with Verovio.
About the authors
Laurent Pugin is co-director of the RISM Digital Center and is the lead developer of Verovio. Previously, he was a postdoctoral researcher at McGill University and a visiting scholar at Stanford University. He is also co-applicant of LinkedMusic, a research project based at McGill University. Laurent Pugin has been a member of the MEI board and co-chair of its technical team since 2014. In 2019, he completed a habilitation in both musicology and digital humanities at the University of Bern where he has been teaching for many years.
Andrew Hankinson is senior software developer at the RISM Digital Center where he leads the development of RISM Online. He was a postdoctoral researcher at the University of Oxford and senior software engineer for Digital Collections Discovery at the Bodleian Libraries. Andrew specializes in web technologies for building scalable and usable search and retrieval systems. He has held positions on the MEI board and with the Executive of the IIIF Consortium. He has been an active contributor to MEI for many years.