Detection of Similar Melodies by Repurposing Algorithms for Sequence Alignment and String Searching
DOI:
https://doi.org/10.47611/jsrhs.v13i2.6429Keywords:
Melodic Plagiarism, KMP, Smith-Waterman, Sequence Alignment, MIDIAbstract
Music plagiarism is an important concern for the music industry. Current methods of using experts to detect plagiarism are subjective and error-prone. This paper compares the performance of both string-searching algorithms and algorithms traditionally used in bioinformatics, and in particular, Knuth-Morris-Pratt (KMP) and Smith-Waterman, for the detection of melodic plagiarism. The input MIDI files are converted into an array after data processing and used as the basis for comparison. Across most thresholds, melodic plagiarism detection using KMP exhibits greater recall than, similar precision to, and faster runtimes than Smith-Waterman. We conclude that exact string searching algorithms like KMP can be more effective than local sequence alignment methods like Smith-Waterman.
Downloads
References or Bibliography
Siwek, S. E. (2007). The True Cost of Sound Recording Piracy to the U.S. Economy: IPI.” RIAA.
Sisario, Ben. “Ed Sheeran Wins Copyright Case over Marvin Gaye’s ‘Let’s Get It On.’” The New York Times, 4 May 2023, www.nytimes.com/2023/05/04/arts/music/ed-sheeran-marvin-gaye-copyright-trial-verdict.html.
Park, K., Baek, S., Jeon, J., & Jeong, Y.-S. (2023, August 30). Music Plagiarism Detection Based on Siamese CNN. hcisj.com. http://hcisj.com/data/file/article/2022080003/12-38.pdf
Sie, Mu-Syuan, et al. “Detecting and Locating Plagiarism of Music Melodies by Path Exploration over a Binary Mask.” Computer Science & Information Technology (CS & IT), Aug. 2017, https://doi.org/10.5121/csit.2017.71004. Accessed 30 Sept. 2023.
He, Tianyao, et al. Music Plagiarism Detection via Bipartite Graph Matching. arxiv.org/pdf/2107.09889.pdf.
Malandrino, Delfina, et al. “An Adaptive Meta-Heuristic for Music Plagiarism Detection Based on Text Similarity and Clustering.” Data Mining and Knowledge Discovery, vol. 36, no. 4, May 2022, pp. 1301–34, https://doi.org/10.1007/s10618-022-00835-2.
Wikipedia contributors. “Knuth–Morris–Pratt Algorithm.” Wikipedia, 31 Oct. 2023, en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm.
“Python - MIDI Collection.” Cymatics.fm, cymatics.fm/products/python-midi-collection.
Unison Audio Inc. “Unison Beatmaker Blueprint (Free Teaser Pack) - Unison.” Unison Audio Inc., 1 June 2023, unison.audio/product/beatmaker-blueprint-free-teaser-pack.
“Unison Essential MIDI Melodies -.” Unison Audio Inc., 2 Jan. 2022, unison.audio/product/unison-essential-midi-melodies.rg/10.47611/jsr.v8i2.775
Published
How to Cite
Issue
Section
Copyright (c) 2024 Vihaan Krishnakumar
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Copyright holder(s) granted JSR a perpetual, non-exclusive license to distriute & display this article.