Topology + Music

Project Summary

This data expedition introduced students to “sliding windows and persistence” on time series data, which is an algorithm to turn one dimensional time series into a geometric curve in high dimensions, and to quantitatively analyze hybrid geometric/topological properties of the resulting curve such as “loopiness” and “wiggliness.”

Themes and Categories
Contact
Paul Bendich
bendich@math.duke.edu

Graduate student: Chris Tralie

Faculty instructors: Paul Bendich and Lisa Huettel

Course: Math 412

Students in this Data Expedition project:

  • Learned a 1D time series analysis technique for complex data
  • Used the “Loop Ditty” software Chris Tralie created to visualize geometric curves that represent the music, projected down to 3D
  • Were able to quantitatively analyze where vocals occurred in music by looking at loops, and that classical music is “smoother” than rock music
  • Got a safe introduction to topological data analysis techniques for analyzing the curve in its true high dimensional embedding
  • Discovered trade-offs between analyzing data visually after projection and analyzing data with more abstract tools in high dimensions

In this expedition, musical audio data was the 1D time series in question, which is a fun and relatable way to explore these complicated time series analysis algorithms. Musical audio data is high dimensional (44100 samples per second), noisy, complex, and highly repetitive. It’s the repetitive nature and the global/local descriptions of music that have been of particular interest in my personal research on music information retrieval. As a result, my data expedition was more about exploring “complex data” as opposed to “big data.” Therefore, most of my efforts curating the data were directed at creating a web-based graphical user interface, which I called “Loop Ditty” (http://www.loopditty.net), which turned music into visual curves in a way that would allow students to visually explore and manipulate complex patterns in the sound that would be difficult to glean from the waveform alone. Figure 1 shows a screenshot from the LoopDitty software

In addition to visual exploration in 3D, students also used tools from topological data analysis to quantitatively analyze the musical curves in high dimensions. Their task was to make observations in both domains.

Read the report to learn more (PDF).

Related Projects

This Data Expedition introduced hypothesis-driven data analysis in R and the concept of circular data, while providing some tools for importing it and analyzing it in R.

The aim of this data expedition was to give students an introduction to stable isotopes and how the data can be used to understand trophic dynamics. 

How are women influenced by the spaces that they are allowed to occupy? A group of students, led by English Professor Charlotte Sussman, will examine how the spaces and places women can inhabit have changed over time, and how such changes have affected women’s rights and opportunities. The team will analyze the visual representations of women depicted in magazines from the nineteenth to the twenty-first century through the Women’s Magazine Archive, considering how images about women influence the reality that women can both imagine and live. Using this data, the group will design and visualize a potential women’s space that can empower and support women to reach their highest potential.