Visual analytics for sheet music

Visual Musicology

Seeing harmony, rhythm and melody in the score.

Glyphs sit right on the notes for harmony and rhythm, pattern families trace a melody through a piece, and a feature matrix lays out ten thousand pieces at once. Visual Musicology augments common music notation instead of replacing it, from a single bar to a whole collection.

  • 4live apps
  • 8publications
  • 10,800pieces in CorpusVis
  • 2024PhD thesis
The composer timeline of CorpusVis: composer portraits above the eras baroque, classic, romantic and modern
“Canon D” in MusicVis with a harmonic fingerprint glyph above every measure, each labelled with its chord
A Bach fugue in MelodyVis with its pattern families highlighted in colour in the score

01 The idea

Augment the score, don’t replace it

Visual Musicology works at the interface of musicology and visual analytics. Musicians and musicologists read common music notation; the visualizations meet them there and add what the notation alone hides: harmonic relations, rhythmic structure, recurring melodies, the shape of a whole repertoire.

“By augmenting instead of replacing common music notation, these designs improve the accessibility and understandability of sheet music for people with varying musical and visual analytic expertise.” From the abstract of Visual Sheet Music Analytics, PhD thesis, 2024
Two bars of sheet music with a harmonic fingerprint above each barBar one plays G, B, D and G, bar two A, C, E and A. The noteheads take the colour of their pitch class; the fingerprint above bar one shows G as its root, the one above bar two A.44GA
A constructed example of the principle: the bars stay as they are, the noteheads take the colour of their pitch class, and each bar gets a harmonic fingerprint.
  • Keep the notation

    Glyphs sit on top of the measures and leave the score itself unchanged, so readers can switch between the familiar notation and the abstract view at any time.

  • Close and distant reading

    From a single bar to the structure of a piece (bottom-up, MusicVis) and from a whole collection down to one score (top-down, CorpusVis), with seamless transitions between the levels.

  • Methodology transfer

    Established methods of visual data analysis are carried over to musicological questions, and designed and evaluated together with domain experts.

02 The apps

Four tools, live in your browser

Every app runs on the IVIA infrastructure at ETH Zürich and opens with real sheet music. No account, no installation: pick a piece and start reading.

1 Harmony & rhythm on the score

MusicVis

Glyphs on the notation, from one bar to the whole piece.

MusicVis augments digital sheet music with harmony and rhythm glyphs on top of every measure. Seamless transitions lead from close reading of the notes to distant reading of the whole piece, and visual queries search for harmony, rhythm and melody.

  • Harmonic fingerprints on the circle of fifths
  • Rhythmic fingerprints for every measure
  • Harmony, rhythm and melody search across the piece
  • The Glyph Explorer: how the glyphs respond to chords, scale degrees, meters and rhythms

Paper: Augmenting Digital Sheet Music through Visual Analytics, Computer Graphics Forum 2022

The MusicVis workspace with “Canon D”: harmony search with the circle-of-fifths colour wheel on the left, the score with a harmonic fingerprint above every measure in the middle, melody search and the split configurator on the right
“Canon D” one level more abstract: a harmonic fingerprint per measure, labelled with its chord, next to harmony search, melody search and the split configurator.
The Glyph Explorer: harmonic fingerprints of major, relative minor, augmented and diminished triads on every root

2 Melodic patterns

MelodyVis

Find a motif, and every way it returns.

Select a melodic pattern in the sheet music and MelodyVis finds its repetitions and variations through eight atomic operators and their combinations. It shows them in the score, per voice on a timeline and in a transformation graph, and it discovers the pattern families of every piece automatically.

  • Transposition, inversion, retrograde, diminution, augmentation, reductions to pitch and to rhythm, deviation
  • Themes, countersubjects, imitations, sequences and motifs found for every piece
  • How a pattern moves through the voices, played back on a sampled grand piano
  • Import your own MusicXML files and save the analysis

Paper: MelodyVis: Visual Analytics for Melodic Patterns in Sheet Music, arXiv 2024

MelodyVis with Bach's Fugue No. 2 in C minor, BWV 847: pattern families highlighted in the score, their entries per voice on a timeline, and the list of discovered patterns
Bach, Fugue No. 2 in C minor (BWV 847): 12 pattern families explain 85 % of the notes, shown in the score and per voice.
Close-up of the fugue with theme, countersubjects, imitations, sequences and motifs as coloured bands over the notes

3 Sheet music collections

CorpusVis

Ten thousand pieces at a glance, and every single score one click away.

CorpusVis opens a collection of about 10,800 MuseScore pieces with their jSymbolic features. Analysts compare composers, epochs and composition forms, find similar pieces, and drill down from the whole collection to single pieces.

  • Feature matrix and MDS projection of the jSymbolic features
  • Composer timeline and composition forms
  • Saved use cases, such as tonality versus atonality
  • Import your own MusicXML files for comparison

Paper: CorpusVis: Visual Analysis of Digital Sheet Music Collections, Computer Graphics Forum (EuroVis) 2022

The CorpusVis workspace with the use case “Epoch Comparison”: composer timeline and composition forms on the left, the jSymbolic feature matrix of 51 pieces in the middle, metadata and the MDS projection on the right
Use case “Epoch Comparison”: 51 pieces in the composer timeline, the jSymbolic feature matrix and the MDS projection, linked to each other.
The jSymbolic feature matrix of 51 pieces next to their MDS projection, circles coloured by group

4 Rhythm

RhythmVis

Rhythm, read like a clock.

RhythmVis places a rhythmic fingerprint on every measure: concentric rings for the durations from whole notes to 32nd notes, filled clockwise where notes and rests begin. Recurring rhythms become recognisable shapes, also for readers who are not fluent in the notation.

  • A rhythmic fingerprint above every measure of the score
  • The rhythm band: the whole piece at a glance, divided into its sections
  • Search for a rhythmic pattern across the piece

Paper: Augmenting Sheet Music with Rhythmic Fingerprints, IEEE VIS4DH 2020

RhythmVis with the Aria of Bach's Goldberg Variations, BWV 988: the rhythm band with sections A to E above the score, and a rhythmic fingerprint above every measure
Bach, Goldberg Variations, Aria (BWV 988): the rhythm band with its sections and a fingerprint on every measure.
Rhythmic fingerprints above measures 6 to 10 of the Goldberg Aria

03 The method

From notation to glyph

Each glyph condenses one musical dimension of a measure into a compact shape that keeps its musical meaning: positions on the circle of fifths for harmony, a clock of note durations for rhythm.

Harmonic fingerprint

The twelve pitch classes are arranged along the circle of fifths, each with its own colour. For every measure, a sector grows with how often its pitch class sounds; the root note sits in the centre. Related harmonies give related shapes, whatever the octave.

Colour wheel of the twelve pitch classes along the circle of fifths, C at the top, then clockwise G, D, A, E, B, F sharp, D flat, A flat, E flat, B flat and FrootnoteCGDAEBF♯D♭A♭E♭B♭F
Colour wheel
Harmonic fingerprint of the selected exampleE♭
Fingerprint

The bar from the paper’s figure: E♭ five times, G and B♭ three times, F once. Root: E♭.

After Miller, Bonnici and El-Assady, DocEng 2019.

Rhythmic fingerprint

Durations form a tree: a whole note splits into two halves, four quarters, down to 32nd notes. The fingerprint draws each level as a ring, read clockwise from the top like a clock, and fills an arc where a note (warm) or a rest (cool) begins.

The six duration levels and their colours, warm for notes and cool for restsnotesrests2whole1half0quarter−1eighth−216th−332nd Rhythmic fingerprint of the example bar: six rings from the whole note in the centre to 32nd notes at the rim, read clockwise from the top
A constructed 4/4 bar with three voices: a whole note, two half rests, and a half, a quarter, an eighth, a sixteenth and two 32nd notes. Where a note and a rest start together, the note is shown.

After Fürst, Miller, Keim, Bonnici, Schäfer and El-Assady, VIS4DH 2020.

Four levels of reading

The apps cover the whole range from close to distant reading. They share the same idea: start from the score and keep the way back to it.

  1. Measure

    Glyphs

    Harmony and rhythm of every bar, right above the notes.

  2. Pattern

    Motifs

    A melody and its transformed returns across voices.

  3. Piece

    Structure

    Neighbouring measures aggregated into the form of a piece.

  4. Corpus

    Collections

    Features, composers and forms across thousands of pieces.

04 Publications

The research behind the apps

Eight publications from 2018 to 2024 and the PhD thesis that brings them together.

PhD thesis · University of Konstanz · 2024

Visual Sheet Music Analytics

Matthias Miller. Doctoral thesis (Dr. rer. nat.), Department of Computer and Information Science, University of Konstanz. Referees: Prof. Dr. Daniel A. Keim and Prof. Dr. Mennatallah El-Assady.

“Through integrating visual interactive data analysis with sheet music, this thesis addresses a new interdisciplinary field: Visual Musicology. This work bridges the gap between information visualization and musicology, paving the way for new methods to analyze and interpret music data, specifically focusing on sheet music.”

  1. Part IVisual Musicology foundations: the Visual Musicology Graph, methodology transfer, and visual mappings of music notations
  2. Part IIHarmony, rhythm and melody: harmonic fingerprints, rhythmic fingerprints, MelodyVis
  3. Part IIIMulti-level analysis: bottom-up with MusicVis, top-down with CorpusVis
  1. 2024

    MelodyVis: Visual Analytics for Melodic Patterns in Sheet Music

    Matthias Miller, Daniel Fürst, Maximilian T. Fischer, Hanna Hauptmann, Daniel A. Keim, Mennatallah El-Assady

    arXiv preprint 2407.05427 (revision of an IEEE VIS 2023 submission)

  2. 2022

    CorpusVis: Visual Analysis of Digital Sheet Music Collections

    Matthias Miller, Julius Rauscher, Daniel A. Keim, Mennatallah El-Assady

    Computer Graphics Forum 41(3), 283–294 · EuroVis 2022

  3. 2022

    Augmenting Digital Sheet Music through Visual Analytics

    Matthias Miller, Daniel Fürst, Hanna Hauptmann, Daniel A. Keim, Mennatallah El-Assady

    Computer Graphics Forum 41(1), 301–316

  4. 2020

    Augmenting Sheet Music with Rhythmic Fingerprints

    Daniel Fürst, Matthias Miller, Daniel A. Keim, Alexandra Bonnici, Hanna Schäfer, Mennatallah El-Assady

    IEEE 5th Workshop on Visualization for the Digital Humanities (VIS4DH), 14–23

  5. 2019

    Augmenting Music Sheets with Harmonic Fingerprints

    Matthias Miller, Alexandra Bonnici, Mennatallah El-Assady

    ACM Symposium on Document Engineering (DocEng ’19)

    Best Paper AwardMusicVis
  6. 2019

    Framing Visual Musicology through Methodology Transfer

    Matthias Miller, Hanna Schäfer, Matthias Kraus, Marc Leman, Daniel A. Keim, Mennatallah El-Assady

    IEEE VIS Workshop on Visualization for the Digital Humanities (VIS4DH 2019)

  7. 2019

    Visual Pattern Analysis using Digital Sheet Music

    Matthias Miller, Hanna Schäfer, Alexandra Bonnici, Mennatallah El-Assady

    ISMIR 2019, Late-Breaking/Demo, Delft

  8. 2018

    Analyzing Visual Mappings of Traditional and Alternative Music Notation

    Matthias Miller, Johannes Häußler, Matthias Kraus, Daniel A. Keim, Mennatallah El-Assady

    IEEE VIS Workshop on Visualization for the Digital Humanities (VIS4DH 2018)

06 Contact

Questions, ideas, sheet music?

Write to Matthias Miller about the apps, the papers or a collaboration.

matthias.miller@inf.ethz.ch