### Abstract

Two algorithms to find the minimum area between two given orthogonal melodies, M_{a} and M_{b}, of size n and m, respectively (n > m) are presented. Both algorithms can be used for cyclic melodies as well as in the context of retrieving short patterns from a database. The algorithms are described for the case where the melodies are cyclic. The first algorithm assumes that the Θ direction is fixed, and it runs in O(n) time. The second algorithm finds the minimum area when both the z and Θ relative positions can be varied. It is proved that it runs in O(nmlogn) time. In each case, it is assumed that the edges defining M_{a} and M_{b} are given in the order in which they appear in melodies. Finally, natural extensions are discussed both for the polygonal description of melodies and for different types of queries.

Original language | English (US) |
---|---|

Pages (from-to) | 67-76 |

Number of pages | 10 |

Journal | Computer Music Journal |

Volume | 30 |

Issue number | 3 |

DOIs | |

State | Published - Sep 1 2006 |

### Fingerprint

### ASJC Scopus subject areas

- Media Technology
- Music
- Computer Science Applications

### Cite this

*Computer Music Journal*,

*30*(3), 67-76. https://doi.org/10.1162/comj.2006.30.3.67

**Algorithms for computing geometric measures of melodic similarity.** / Aloupis, Greg; Fevens, Thomas; Langerman, Stefan; Matsui, Tomomi; Mesa, Antonio; Nuñez, Yurai; Rappaport, David; Toussaint, Godfried.

Research output: Contribution to journal › Article

*Computer Music Journal*, vol. 30, no. 3, pp. 67-76. https://doi.org/10.1162/comj.2006.30.3.67

}

TY - JOUR

T1 - Algorithms for computing geometric measures of melodic similarity

AU - Aloupis, Greg

AU - Fevens, Thomas

AU - Langerman, Stefan

AU - Matsui, Tomomi

AU - Mesa, Antonio

AU - Nuñez, Yurai

AU - Rappaport, David

AU - Toussaint, Godfried

PY - 2006/9/1

Y1 - 2006/9/1

N2 - Two algorithms to find the minimum area between two given orthogonal melodies, Ma and Mb, of size n and m, respectively (n > m) are presented. Both algorithms can be used for cyclic melodies as well as in the context of retrieving short patterns from a database. The algorithms are described for the case where the melodies are cyclic. The first algorithm assumes that the Θ direction is fixed, and it runs in O(n) time. The second algorithm finds the minimum area when both the z and Θ relative positions can be varied. It is proved that it runs in O(nmlogn) time. In each case, it is assumed that the edges defining Ma and Mb are given in the order in which they appear in melodies. Finally, natural extensions are discussed both for the polygonal description of melodies and for different types of queries.

AB - Two algorithms to find the minimum area between two given orthogonal melodies, Ma and Mb, of size n and m, respectively (n > m) are presented. Both algorithms can be used for cyclic melodies as well as in the context of retrieving short patterns from a database. The algorithms are described for the case where the melodies are cyclic. The first algorithm assumes that the Θ direction is fixed, and it runs in O(n) time. The second algorithm finds the minimum area when both the z and Θ relative positions can be varied. It is proved that it runs in O(nmlogn) time. In each case, it is assumed that the edges defining Ma and Mb are given in the order in which they appear in melodies. Finally, natural extensions are discussed both for the polygonal description of melodies and for different types of queries.

UR - http://www.scopus.com/inward/record.url?scp=33748299591&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=33748299591&partnerID=8YFLogxK

U2 - 10.1162/comj.2006.30.3.67

DO - 10.1162/comj.2006.30.3.67

M3 - Article

AN - SCOPUS:33748299591

VL - 30

SP - 67

EP - 76

JO - Computer Music Journal

JF - Computer Music Journal

SN - 0148-9267

IS - 3

ER -