Multi-Instrument Based N-Grams for Composer Classification Task
DOI:
https://doi.org/10.13053/cys-28-1-4903Keywords:
Composer classification, composer attribution, composer recognition, composer identification, composer style, n-grams, harmonic n-grams, string quartet, mozart, haydnAbstract
In this research, we address the composerclassification supervised problem from a NaturalLanguage Processing perspective. Starting from digitalsymbolic music files, we build two representations: aclass representation and other based on MIDI pitches.We use the technique of n-grams to build featurevectors of musical compositions based on their harmoniccontent. For this, we extract n-grams of size 1 to 4 inharmonic direction, differentiating between all possiblesubsets of instruments. We populate a term-frequencymatrix with the vectors of compositions and we classifyby the means of Support Vector Machines (SVM)classifier. Different classification models are evaluated,e.g., using feature filters and varying hyperparameterssuch as TF-IDF formula, among others. The resultsobtained show that n-grams based on MIDI pitchesperform slightly better than n-grams based on classrepresentation in terms of overall results, but the bestresult of each one of these representations is identical.Some of our best models reach accuracy results thatexceed previous state of the art results based on awell-known dataset composed of string quartets byHaydn and Mozart.Downloads
Published
2024-03-20
Issue
Section
Articles
License
Hereby I transfer exclusively to the Journal "Computación y Sistemas", published by the Computing Research Center (CIC-IPN),the Copyright of the aforementioned paper. I also accept that these
rights will not be transferred to any other publication, in any other format, language or other existing means of developing.I certify that the paper has not been previously disclosed or simultaneously submitted to any other publication, and that it does not contain material whose publication would violate the Copyright or other proprietary rights of any person, company or institution. I certify that I have the permission from the institution or company where I work or study to publish this work.The representative author accepts the responsibility for the publicationof this paper on behalf of each and every one of the authors.
This transfer is subject to the following conditions:- The authors retain all ownership rights (such as patent rights) of this work, except for the publishing rights transferred to the CIC, through this document.
- Authors retain the right to publish the work in whole or in part in any book they are the authors or publishers. They can also make use of this work in conferences, courses, personal web pages, and so on.
- Authors may include working as part of his thesis, for non-profit distribution only.