Music structure analysis
Music structure analysis (MSA) is the task, in music information retrieval, of dividing a piece of music into sections and labeling which sections are alike, such as the verses and choruses of a song. It assumes that a song can be divided into non-overlapping segments, each labeled with its type, in a way that characterizes how a listener hears or analyzes it. The task comes from the Western music-theory practice of analyzing form, whether at the scale of short motives or of larger parts such as the exposition of a sonata or the verse, chorus and bridge of a pop song.[1:1]
The task
Audio-based structure analysis identifies the contiguous, non-overlapping segments that make up a recording and labels them by musical similarity. Segments range from motives of a few seconds to sections longer than a minute, and an analysis that describes the structure at more than one time scale is called hierarchical. The task is hard because both the exact placement of boundaries and the degree of similarity between segments are ambiguous.[1:2] Parts of a piece are written as capital letters in order of first appearance, and two performances of the same piece may differ not only in instrumentation and tempo but in their overall structure.[2:1] An analysis has to take account of melody, harmony, rhythm and timbre, and repeats are rarely exact: the lyrics, instrumentation or melody may change.[2:2]
Experts and non-musicians alike hear music as made of segments. Marking them is subjective, and several annotations of one piece can be valid, but listeners often broadly agree on which boundaries are most important.[1:3] They disagree more about music that is not bound to a notated score than about Western popular music. A crowdsourced study found differences between strong and weak boundaries, between gradual and sudden ones, and between annotators with different musical training.[1:4]
Principles and methods
Segmentation methods have rested on three principles, homogeneity, novelty and repetition, to which a fourth, regularity, was later added. Their common tool is the self-similarity matrix, a square grid in which each cell holds the similarity between two moments of the recording; homogeneous sections appear in it as blocks and repeated ones as diagonal lines.[1:5] Homogeneity methods assume that a section is uniform in some attribute, such as key or instrumentation, so that its boundaries show as points of novelty. Such methods cannot separate a section from an immediate repeat of itself. Repetition methods instead find boundaries at the start and end of repeated passages.[1:6] Novelty and homogeneity are two sides of a coin: one locates the changes, the other the coherent passages between them.[2:3] Under the regularity principle, sections with the same label tend to last an integer ratio of beats, and section lengths tend to follow a log-normal distribution whatever the genre.[1:7]
One of the first methods, Foote's checkerboard kernel of 2000, slides a kernel patterned like a checkerboard along the diagonal of the self-similarity matrix. The result is a novelty curve whose peaks mark likely boundaries. Deep convolutional neural networks have since given the best scores on most measures, mostly by applying the homogeneity principle.[1:8]
Evaluation and data
The most established measure of boundaries is the hit rate. An estimated boundary counts as a hit if it falls within a tolerance of a reference boundary, usually 0.5 or 3 seconds, and the resulting precision and recall are combined as an F1 score. These measures compare an estimate with a single reference annotation, which sits poorly with a task on which annotators disagree.[1:9] To address this, some datasets collect several annotations of each piece.[1:4]
The largest public dataset, SALAMI (Structural Annotations for Large Amounts of Music Information), annotates 1,359 tracks of classical, jazz, popular, world and live music at three levels: fine (motives and phrases), coarse (larger sections) and functional (labels such as verse and bridge). For 884 of the tracks, at least two people made annotations.[1:10] The MIREX evaluation exchange compares submitted algorithms on its own private audio collection, for flat (non-hierarchical) segmentation only.[1:11]
Applications
As of 2020, the only obvious commercial uses of structure analysis had been creating thumbnails of recordings and music video games. It may also make other analyses, such as the estimation of chords and downbeats, more robust.[1:12]
- ^ ↗ premise-and-origin ^ ↗ task-and-hierarchy ^ ↗ listener-agreement ^a ^b ↗ subjectivity ^ ↗ principles-and-ssm ^ ↗ homogeneity-repetition-limits ^ ↗ regularity ^ ↗ checkerboard-and-cnn ^ ↗ hit-rate ^ ↗ salami ^ ↗ mirex ^ ↗ applications-so-far Nieto, Oriol; Mysore, Gautham J.; Wang, Cheng-i; Smith, Jordan B. L.; et al. (2020-12-11). Audio-Based Music Structure Analysis: Current Trends, Open Challenges, and Applications. Transactions of the International Society for Music Information Retrieval. https://doi.org/10.5334/tismir.54 https://transactions.ismir.net/articles/10.5334/tismir.54.
- ^ ↗ parts-and-performances ^ ↗ dimensions-and-varied-repeats ^ ↗ three-classes Müller, Meinard. Music Structure Analysis: General Principles. FMP Notebooks (companion to Fundamentals of Music Processing, Springer 2015), International Audio Laboratories Erlangen. https://www.audiolabs-erlangen.de/resources/MIR/FMP/C4/C4S1_MusicStructureGeneral.html.
Discussion
No threads yet.
Sign in to start threads and post replies.