François Rioult's homepage

Associate Professor in computer science - University of Caen - CNRS UMR6072 GREYC - France

French version

Below are some details about the online version of Hurmony - Tonality Visualization.

Tonality Visualization

This work aims to provide a dynamic visualization of tonality throughout a musical sequence.

  1. each score is arranged as a quartet from the original
  2. then exported in MusicXML format
  3. the Verovio application converts the MusicXML format to MEI, another XML version (which can also be obtained through XSLT transformation)
  4. the Humdrum Extras library converts the MusicXML format to hum and performs tonal analysis
  5. I assemble everything into JSON after various processing steps to generate the visualization

Tonality Computation

The harmony data is provided by the mkeyscape utility, which defines an analysis step, here set to the eighth note. For example, on the 26 four-beat measures of the reference Bach BWV555, mkeyscape computes, for 26 * 4 = 104 points, the tonality:

mkeyscape produces enough analyses to represent them in a triangle, where each line represents a different level of analysis granularity.

Visualizing a Tonality

The colors are inspired by my daughter’s synesthesia. Major and relative minor are merged.

For major keys, the root and the fifth are located on the outer circle, and linked to the minor third on the inner circle. For minor keys, it is the opposite.

This visualization technique arranges the keys around a circle in such a way that their geometric proximity reflects harmonic proximity.