Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P3: Overlapping Line Segments #10

Open
DavidGarfinkle opened this issue May 26, 2017 · 0 comments
Open

P3: Overlapping Line Segments #10

DavidGarfinkle opened this issue May 26, 2017 · 0 comments

Comments

@DavidGarfinkle
Copy link
Collaborator

Algorithm P3 counts the total intersection between horizontal line segments. This can lead to some cool, and some bad situations:

  1. if two instruments share the same note of a single melody, the total intersection of the occurrence will be higher than if just one instrument was playing the melody (and so, we can prioritize it in the ranking)

  2. if just the single note of the pattern is repeated many times in various parts, then the total intersection length might be as large as the pattern itself, even though only the first note has matched.

Possible solutions:

  • merge all of the overlapping segments so the anomaly is ignored altogether and we don't include the intersection value to rank the results
  • filter the results by threshold, making sure that a minimum number of pattern notes are found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant