20
Melodic Search: Strategies and Formats CS 275B/Music 254

Melodic Search: Strategies and Formats CS 275B/Music 254

Embed Size (px)

Citation preview

Page 1: Melodic Search: Strategies and Formats CS 275B/Music 254

Melodic Search: Strategies and Formats

CS 275B/Music 254

Page 2: Melodic Search: Strategies and Formats CS 275B/Music 254

On melody What is a theme? What is an incipit? Are all themes incipits? Can you tell the key from a melody? Can you tell whether something you hear

begins at the beginning? Is melody one-dimensional? How can we isolate a melody algorithmically?

CS 275B Eleanor Selfridge-Field2

Page 3: Melodic Search: Strategies and Formats CS 275B/Music 254

On melody What is a theme? Significant content What is an incipit? Beginning phrase Are all themes incipits? Can you tell the key from a melody? Can you tell whether something you hear

begins at the beginning? Is melody one-dimensional? How can we isolate a melody algorithmically?

CS 275B Eleanor Selfridge-Field3

Page 4: Melodic Search: Strategies and Formats CS 275B/Music 254

Non-musical search strategies

CS 275B Eleanor Selfridge-Field

4

Page 5: Melodic Search: Strategies and Formats CS 275B/Music 254

Non-musical search strategies

Probability ranking

Sorting and categorization

String matching, edit distance

N-grams

Dynamic programming

Pattern detection

CS 275B Eleanor Selfridge-Field5

Page 6: Melodic Search: Strategies and Formats CS 275B/Music 254

Probability ranking

CS 275B Eleanor Selfridge-Field6

Example: MELDEX

“Query-by-humming”: work of Lloyd Smith et al, c. 1995.

Page 7: Melodic Search: Strategies and Formats CS 275B/Music 254

Melodic sorting (incipits)

CS 275B Eleanor Selfridge-Field7

Examples from RISM

John Howard, "Strategies for sorting melodic incipits," CM 11 (1998).

[Ranking??]

Page 8: Melodic Search: Strategies and Formats CS 275B/Music 254

Edit distance: text

CS 275B Eleanor Selfridge-Field8

1. Item-by-item comparison

2. Penalties for

• substitutions

• insertions

• deletions

Bag

Bat

Cat

Catch

Page 9: Melodic Search: Strategies and Formats CS 275B/Music 254

Edit distance (music)

CS 275B Eleanor Selfridge-Field9

Ambiguities-iteration (accent invariant)-polyphonic involvement-decoration (accent invariant)

Page 10: Melodic Search: Strategies and Formats CS 275B/Music 254

N-grams

CS 275B Eleanor Selfridge-Field

10

MethodPick a string lengthSeek all its permutations

Beethoven: Archduke Trio

Page 11: Melodic Search: Strategies and Formats CS 275B/Music 254

N-grams

CS 275B Eleanor Selfridge-Field

11

http://www.peachnote.com/datasets.html

Music n-gram viewer

Page 12: Melodic Search: Strategies and Formats CS 275B/Music 254

Dynamic programming

CS 275B Eleanor Selfridge-Field12

Examples: Jonathan Foote

Performance-based

self-similarity matricesRhythmic similarity

Page 13: Melodic Search: Strategies and Formats CS 275B/Music 254

Pattern detection

CS 275B Eleanor Selfridge-Field13

Page 14: Melodic Search: Strategies and Formats CS 275B/Music 254

Pattern detection

CS 275B Eleanor Selfridge-Field14

Nettheim: MuSearch (SCORE)Settings of the word "Liebe"

Pattern realms• Lyrics• Pitch• Duration• Phrase structure

Page 15: Melodic Search: Strategies and Formats CS 275B/Music 254

CS 275B Eleanor Selfridge-Field15

Vulnerabilities

Target (scale degree): 32123Query

Pitch (scale-degree) matching without rhythmic, metric invariance

Page 16: Melodic Search: Strategies and Formats CS 275B/Music 254

Vulnerabilities

CS 275B Eleanor Selfridge-Field16

Target: 3331

Pattern-matching without:• Rests• Register considerations• Repeated notes

Query

Page 17: Melodic Search: Strategies and Formats CS 275B/Music 254

Themefinder

A search application for melodic data

CS 275B Eleanor Selfridge-Field17

Page 18: Melodic Search: Strategies and Formats CS 275B/Music 254

Themefinder

CS 275B Eleanor Selfridge-Field18

Classical = themesFolk = incipitsRenaissance = incipits

Page 19: Melodic Search: Strategies and Formats CS 275B/Music 254

Search examples

CS 275B Eleanor Selfridge-Field19

…in decreasing order of precision

http://www.themefinder.org

Page 20: Melodic Search: Strategies and Formats CS 275B/Music 254

Thought for the day “The dictionary describes melody as a series of

notes strung together in a meaningful sequence.”

CS 275B Eleanor Selfridge-Field20

Source: U.S. Patent application 20060254411 (Nov. 16, 2006)