Searching monophonic patterns within polyphonic sources

The string matching problem for strings in which one should find the occurrences of a pattern string within a text, is well-studied in the past literature. The problem can be solved efficiently, e. g., by using so-called bit-parallel algorithms. We adapt the bit-parallel approach to music information retrieval. We consider a situation where the pattern is monophonic and the text (the musical source) is polyphonic, that is, the pattern is a sequence of symbols, while the source is a sequence of sets of symbols (i.e., chords). The application of the bit-parallel approach is straightforward, if the transposition invariance is not allowed in the matching. However, the problem becomes trickier with transposition invariance, a necessary property in practice. We present algorithms for both cases. Our main contribution is a linear-time transposition-invariant filtering-algorithm for static music databases. We show by experiments that, if the average size of the chords keeps reasonably low, our filtering method clearly outperforms a straightforward approach.

[1]  Donald E. Knuth,et al.  Fast Pattern Matching in Strings , 1977, SIAM J. Comput..

[2]  Ian H. Witten,et al.  The New Zealand Digital Library MELody inDEX , 1997, D Lib Mag..

[3]  Robert S. Boyer,et al.  A fast string searching algorithm , 1977, CACM.

[4]  Yuen-Hsien Tseng,et al.  Content-based retrieval for music collections , 1999, SIGIR '99.

[5]  David De Roure,et al.  A tool for content based navigation of music , 1998, MULTIMEDIA '98.

[6]  Gonzalo Navarro,et al.  A Bit-Parallel Approach to Suffix Automata: Fast Extended String Matching , 1998, CPM.

[7]  R. Parncutt Harmony: A Psychoacoustical Approach , 1989 .

[8]  Alfred V. Aho,et al.  Efficient string matching , 1975, Commun. ACM.

[9]  J. Stephen Downie,et al.  Evaluating a simple approach to music information retrieval : conceiving melodic n-grams as text , 1999 .

[10]  Wojciech Rytter,et al.  Text Algorithms , 1994 .

[11]  J. Stephen Downie,et al.  Music retrieval as text retrieval (poster abstract): simple yet effective , 1999, SIGIR '99.

[12]  Allen Forte,et al.  Tonal Harmony in Concept and Practice , 1962 .

[13]  Kjell Lemström,et al.  Musical Information Retrieval Using Musical Parameters , 1998, ICMC.

[14]  Brian Christopher Smith,et al.  Query by humming: musical information retrieval in an audio database , 1995, MULTIMEDIA '95.

[15]  Rajeev Raman,et al.  String-Matching techniques for musical similarity and melodic recognition , 1998 .

[16]  Gaston H. Gonnet,et al.  A new approach to text searching , 1992, CACM.

[17]  Justin Zobel,et al.  Manipulation of music for melody matching , 1998, MULTIMEDIA '98.

[18]  S. Pinker How the Mind Works , 1999, Philosophy after Darwin.

[19]  Udi Manber,et al.  Fast text searching: allowing errors , 1992, CACM.

[20]  J. Stephen Downie,et al.  Music Retrieval as Text Retrieval: Simple Yet Effective (poster abstract). , 1999, SIGIR 1999.