musif: a Python package for symbolic music feature extraction (2307.01120v1)
Abstract: In this work, we introduce musif, a Python package that facilitates the automatic extraction of features from symbolic music scores. The package includes the implementation of a large number of features, which have been developed by a team of experts in musicology, music theory, statistics, and computer science. Additionally, the package allows for the easy creation of custom features using commonly available Python libraries. musif is primarily geared towards processing high-quality musicological data encoded in MusicXML format, but also supports other formats commonly used in music information retrieval tasks, including MIDI, MEI, Kern, and others. We provide comprehensive documentation and tutorials to aid in the extension of the framework and to facilitate the introduction of new and inexperienced users to its usage.
- F. Simonetta, S. Ntalampiras, and F. Avanzini, “Multimodal Music Information Processing and Retrieval: Survey and Future Challenges,” in Proceedings of 2019 International Workshop on Multilayer Music Representation and Processing. Milan, Italy: IEEE Conference Publishing Services, 2019, pp. 10–18. doi: 10.1109/mmrp.2019.00012
- Y. Bengio, A. Courville, and P. Vincent, “Representation Learning: A Review and New Perspectives,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 35, no. 8, pp. 1798–1828, Aug. 2013. doi: 10.1109/TPAMI.2013.50
- M. S. Cuthbert, C. Ariza, and L. Friedland, “Feature extraction and machine learning on symbolic music using the music21 toolkit,” in Proceedings of the 12th International Society for Music Information Retrieval Conference, ISMIR 2011, Miami, Florida, USA, October 24-28, 2011. University of Miami, 2011, pp. 387–392. doi: 10.5281/zenodo.1416288
- C. McKay, J. Cumming, and I. Fujinaga, “jSymbolic 2.2: Extracting features from symbolic music for use in musicological and MIR research,” in Proceedings of the 19th International Society for Music Information Retrieval Conference, 2018. ISBN 978-2-9540351-2-3 pp. 348–354. doi: 10.5281/zenodo.1492421
- F. Simonetta, C. E. Cancino-Chacón, S. Ntalampiras, and G. Widmer, “A convolutional approach to melody line identification in symbolic scores,” in Proceedings of the 20th International Society for Music Information Retrieval Conference. Delft, The Netherlands: ISMIR, Nov. 2019, pp. 924–931. doi: 10.5281/zenodo.3527966
- M. Prang and P. Esling, “Signal-domain representation of symbolic music for learning embedding spaces,” Stockholm, Sweden, p. 10, Oct. 2020.
- P. Lisena, A. Meroño-Peñuela, and R. Troncy, “MIDI2vec: Learning MIDI embeddings for reliable prediction of symbolic music metadata,” Semantic Web, vol. 13, no. 3, pp. 357–377, Jan. 2022. doi: 10.3233/SW-210446
- L. Bigo, M. Giraud, R. Groult, N. Guiomard-Kagan, and F. Levé, “Sketching sonata form structure in selected classical string quartets.” in Proceedings of the 18th International Society for Music Information Retrieval Conference. Suzhou, China: ISMIR, Oct. 2017, pp. 752–759. doi: 10.5281/zenodo.1415020
- K. C. Kempfert and S. W. K. Wong, “Where does Haydn end and Mozart begin? Composer classification of string quartets,” Journal of New Music Research, vol. 49, no. 5, pp. 457–476, Oct. 2020. doi: 10.1080/09298215.2020.1814822
- F. Simonetta, F. Avanzini, and S. Ntalampiras, “A Perceptual Measure for Evaluating the Resynthesis of Automatic Music Transcriptions,” Multimedia Tools and Applications, 2022. doi: 10.1007/s11042-022-12476-0
- M. Neuwirth, D. Harasim, F. C. Moss, and M. Rohrmeier, “The Annotated Beethoven Corpus (ABC): A Dataset of Harmonic Analyses of All Beethoven String Quartets,” Frontiers in Digital Humanities, vol. 5, 2018. doi: 10.3389/fdigh.2018.00016
- J. Hentschel, M. Neuwirth, and M. Rohrmeier, “The Annotated Mozart Sonatas: Score, Harmony, and Cadence,” Transactions of the International Society for Music Information Retrieval, vol. 4, no. 1, pp. 67–80, May 2021. doi: 10.5334/tismir.63
- O. Raz, D. Chawin, and U. B. Rom, “The Mozart Expositional Punctuation Corpus: A Dataset of Interthematic Cadences in Mozart’s Sonata-Allegro Expositions,” Empirical Musicology Review, vol. 16, pp. 134–144, 2021. doi: 10/grq2fp
- F. Moss, W. Fernandes de Souza, and M. Rohrmeier, “Harmony and Form in Brazilian Choro: A Corpus-Driven Approach to Musical Style Analysis,” Journal of New Music Research, vol. 49, pp. 416–437, 2020. doi: 10/grq2fm
- J. Hentschel, F. C. Moss, A. McLeod, M. Neuwirth, and M. Rohrmeir, “Towards a Unified Model of Chords in Western Harmony,” in Music Encoding Conference 2021, 2022, pp. 143–149. doi: 10/grq2fk
- A. Llorens and A. Torrente, “Constructing opera seria in the Iberian Courts: Metastasian Repertoire for Spain and Portugal,” Anuario Musical, vol. 76, pp. 73–110, Jul. 2021. doi: 10/grq2fn
- M. E. Cuenca and C. McKay, “Exploring Musical Style in the Anonymous and Doubtfully Attributed Mass Movements of the Coimbra Manuscripts: A Statistical Approach,” in Medieval and Renaissance Music Conference, 2019.
- V. Anzani and A. Llorens, “Shaping Eighteenth-Century Opera: The Singer’s Impact,” in Tosc@ Junior Conference, 2021.
- A. Torrente, “Didone trasmutata: Aria Settings and the Expression of Emotions in Metastasian Operas,” in Mapping Artistic Networks of Italian Theatre and Opera across Europe, 1600–1800, 2019.
- E. Rodriguez-Garcia and C. McKay, “Ave festiva ferculis: Exploring Attribution by Combining Manual and Computational Analysis.” in Medieval and Renaissance Music Conference, 2021.
- C. S. Sapp, “Online Database of Scores in the Humdrum File Format,” in Proceedings of the 6th International Conference on Music Information Retrieval, 2005, p. 2. doi: 10.5281/zenodo.1417281
- F. Foscarin, A. Mcleod, P. Rigaux, F. Jacquemard, and M. Sakai, “ASAP: A dataset of aligned scores and performances for piano transcription,” in Proceedings of the 21st International Society for Music Information Retrieval, 2020, Proceedings. doi: 10.5281/zenodo.4245489
- J. Cumming, C. McKay, J. Stuchbery, and I. Fujinaga, “Methodologies for Creating Symbolic Corpora of Western Music Before 1600,” in Proceedings of the ISMIR. Paris, France: ISMIR, Sep. 2018, pp. 491–498. doi: 10.5281/zenodo.1492459
- A. Torrente and A. Llorens, “The Musicology Lab: Teamwork and the Musicological Toolbox,” in Music Encoding Conference 2021, 2022, pp. 9–20. doi: 10/grqp2b