Music alignment explained

Music can be described and represented in many different ways including sheet music, symbolic representations, and audio recordings. For each of these representations, there may exist different versions that correspond to the same musical work. The general goal of music alignment (sometimes also referred to as music synchronization) is to automatically link the various data streams, thus interrelating the multiple information sets related to a given musical work. More precisely, music alignment is taken to mean a procedure which, for a given position in one representation of a piece of music, determines the corresponding position within another representation.[1] In the figure on the right, such an alignment is visualized by the red bidirectional arrows. Such synchronization results form the basis for novel interfaces that allow users to access, search, and browse musical content in a convenient way.[2] [3]

Basic procedure

Given two different music representations, typical music alignment approaches proceed in two steps.[1] In the first step, the two representations are transformed into sequences of suitable features. In general, such feature representations need to find a compromise between two conflicting goals. On the one hand, features should show a large degree of robustness to variations that are to be left unconsidered for the task at hand. On the other hand, features should capture enough characteristic information to accomplish the given task. For music alignment, one often uses chroma-based features (also called chromagrams or pitch class profiles), which capture harmonic and melodic characteristics of music, while being robust to changes in timbre and instrumentation, are being used.

In the second step, the derived feature sequences have to be brought into (temporal) correspondence. To this end, techniques related to dynamic time warping (DTW) or hidden Markov models (HMMs) are used to compute an optimal alignment between two given feature sequences.

Related tasks

Music alignment and related synchronization tasks have been studied extensively within the field of music information retrieval. In the following, we give some pointers to related tasks. Depending upon the respective types of music representations, one can distinguish between various synchronization scenarios. For example, audio alignment refers to the task of temporally aligning two different audio recordings of a piece of music. Similarly, the goal of score–audio alignment is to coordinate note events given in the score representation with audio data. In the offline scenario, the two data streams to be aligned are known prior to the actual alignment. In this case, one can use global optimization procedures such as dynamic time warping (DTW) to find an optimal alignment. In general, it is harder to deal with scenarios where the data streams are to be processed online. One prominent online scenario is known as score following, where a musician is performing a piece according to a given musical score. The goal is then to identify the currently played musical events depicted in the score with high accuracy and low latency.[4] [5] In this scenario, the score is known as a whole in advance, but the performance is known only up to the current point in time. In this context, alignment techniques such as hidden Markov models or particle filters have been employed, where the current score position and tempo are modeled in a statistical sense.[6] [7] As opposed to classical DTW, such an online synchronization procedure inherently has a running time that is linear in the duration of the performed version. However, as a main disadvantage, an online strategy is very sensitive to local tempo variations and deviations from the score - once the procedure is out of sync, it is very hard to recover and return to the right track. A further online synchronization problem is known as automatic accompaniment. Having a solo part played by a musician, the task of the computer is to accompany the musician according to a given score by adjusting the tempo and other parameters in real time. Such systems were already proposed some decades ago.[8] [9] [10]

Notes and References

  1. Book: Müller , Meinard . Music Synchronization. In Fundamentals of Music Processing, chapter 3, pages 115-166. Springer. 2015. 10.1007/978-3-319-21945-5. 978-3-319-21944-8 . 8691186.
  2. Damm. David . Fremerey. Christian. Thomas. Verena. Clausen. Michael. Kurth. Frank. Müller. Meinard. A digital library framework for heterogeneous music collections: from document acquisition to cross-modal interaction. International Journal on Digital Libraries. 12. 2–3. 2012. 53–71. 10.1007/s00799-012-0087-y. 254076612 .
  3. Müller. Meinard . Clausen. Michael. Konz. Verena. Ewert. Sebastian. Fremerey. Christian . A Multimodal Way of Experiencing and Exploring Music. Interdisciplinary Science Reviews. 35. 2. 2010. 138–153. 10.1179/030801810X12723585301110. 2010ISRv...35..138M . 10.1.1.400.245 . 1739507 .
  4. Cont. Arshia. A Coupled Duration-Focused Architecture for Real-Time Music-to-Score Alignment. IEEE Transactions on Pattern Analysis and Machine Intelligence. 32. 6. 2010. 974–987. 0162-8828. 10.1109/TPAMI.2009.106. 20431125. 10.1.1.192.2305. 3522344.
  5. Orio. Nicola. Lemouton. Serge. Schwarz. Diemo. Score following: State of the art and new developments. Proceedings of the International Conference on New Interfaces for Musical Expression (NIME). 2003. 36–41.
  6. Book: Duan. Zhiyao. Pardo. Bryan. 2011 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). A state space model for online polyphonic audio-score alignment. 2011. 197–200. 10.1109/ICASSP.2011.5946374. 978-1-4577-0538-0. 2296185.
  7. Book: Montecchio. Nicola. 2011 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). Cont. Arshia. 2011. 193–196. 10.1109/ICASSP.2011.5946373. 978-1-4577-0538-0. 6581358.
  8. Dannenberg. Roger B.. An on-line algorithm for real-time accompaniment. Proceedings of the International Computer Music Conference (ICMC). 1984. 193–198.
  9. Raphael. Christopher. A probabilistic expert system for automatic musical accompaniment. Journal of Computational and Graphical Statistics. 10. 3. 2001. 487–512. 10.1.1.20.6559. 10.1198/106186001317115081. 2505863.
  10. Raphael. Christopher. 2006. Music score alignment and computer accompaniment. Communications of the ACM. 49. 8. 38–43. 10.1145/1145287.1145311. 0001-0782. Dannenberg. Roger B.. 10.1.1.468.2658. 207159787.