Time delay embeddings to characterize the timbre of musical instruments using Topological Data Analysis: a study on synthetic and real data
Gakusei Sato, Hiroya Nakao, Riccardo Muolo
TL;DR
The paper addresses timbre characterization by leveraging Topological Data Analysis on time-delay embeddings of audio signals to detect harmonic structure beyond standard spectral descriptors. It analyzes how the embedding delay $\tau$ influences the persistent diagrams of the 2D embedding $X_2(x_t; \tau)$ and uses the Wasserstein distance $W$ to quantify timbre as the difference between the diagram of a signal and that of a sine wave with the same fundamental frequency $f_0$. Key contributions include a systematic study identifying delays related to fractions of the fundamental period, showing that delays around $T_0/2$ emphasize integer harmonics while delays around $T_0/4$ highlight both integer and non-integer harmonics, validated on synthetic and real data (e.g., guitar, NSynth). The results suggest a practical, topology-based pathway for timbre analysis, with extensions to higher-dimensional embeddings and richer persistence statistics.
Abstract
Timbre allows us to distinguish between sounds even when they share the same pitch and loudness, playing an important role in music, instrument recognition, and speech. Traditional approaches, such as frequency analysis or machine learning, often overlook subtle characteristics of sound. Topological Data Analysis (TDA) can capture complex patterns, but its application to timbre has been limited, partly because it is unclear how to represent sound effectively for TDA. In this study, we investigate how different time delay embeddings affect TDA results. Using both synthetic and real audio signals, we identify time delays that enhance the detection of harmonic structures. Our findings show that specific delays, related to fractions of the fundamental period, allow TDA to reveal key harmonic features and distinguish between integer and non-integer harmonics. The method is effective for synthetic and real musical instrument sounds and opens the way for future works, which could extend it to more complex sounds using higher-dimensional embeddings and additional persistence statistics.
