Skip to main content

Exploring Music21 and Gensim for Music Data Analysis and Visualization

  • Conference paper
  • First Online:
Data Mining and Big Data (DMBD 2019)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1071))

Included in the following conference series:

Abstract

Computational musicology has been garnering attention since the 1950s. Musicologists appreciate the utilisation of computing power to look for patterns in music. The bottlenecks in the early days were attributed to the lack of standardization of computer representation of music and the lack of computing techniques specialized for the music domain. However, due to the increase in computing power, advances in music technology and machine learning techniques in recent years; the field of computational musicology has been revitalized. In this paper, we explored Music21 toolkit and Gensim, the recent open-source data analytical tool which includesd the Word2Vec model, for an analysis of Bach Chorales. The tools and techniques discussed in this paper have revealed many interesting exploratory fronts such as the semantic analogies of musical concepts which deserve a detailed investigation by computational musicologists.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    deepjazz: https://deepjazz.io/.

  2. 2.

    web.mit.edu/music21/doc/moduleReference/moduleCorpusChorales.html and www.jsbchorales.net.

  3. 3.

    The term prominent here is subjective. Here, we select chords that appear more than 75% from the major mode and the minor mode.

References

  1. Cope, D.: Computer and Musical Style. Oxford University Press, Oxford (1991)

    Google Scholar 

  2. Phon-Amnuaisuk, S.: Control language for harmonisation process. In: Anagnostopoulou, C., Ferrand, M., Smaill, A. (eds.) ICMAI 2002. LNCS (LNAI), vol. 2445, pp. 155–167. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-45722-4_15

    Chapter  Google Scholar 

  3. LeCun, Y., Bengio, Y., Hinton, G.: Deep learning. Nature 521, 436444 (2015)

    Article  Google Scholar 

  4. Hadjeres, G., Pachet, F., Nielsen, F.: DeepBach: a steerable model for Bach chorales generation. arXiv:1612.01010 (2016)

  5. Cuthbert, M., Ariza, C.: music21: a toolkit for computer-aided musicology and symbolic music data. In: Proceedings of the International Symposium on Music Information Retrieval, p. 63742 (2010)

    Google Scholar 

  6. Rehurek, R., Sojka, P.: Software framework for topic modelling with large corpora. In: Proceedings of the LREC 2010 Workshop on New Challenges for NLP Frameworks, pp. 45–50 (2010)

    Google Scholar 

  7. Mikolov, T., Chen, K., Corrado, G., Dean, J.: Efficient estimation of word representations in vector space. arXiv:1301.3781 (2013)

  8. Riemenschneider, A.: 371 Harmonized Chorales and 69 Chorale Melodies with Figured Bass. G Schirmer Inc., New York (1941)

    Google Scholar 

  9. Wiggins, G., Harris, M., Smaill, A.: Representing music for analysis and composition. In: Proceedings of the International Joint Conferences on Artificial Intelligence, (IJCAI 1989), Detroit, Michigan, pp. 63–71 (1989)

    Google Scholar 

  10. West, R., Howell, P., Cross, I.: Musical structure and knowledge representation. In: Howell, P., West, R., Cross, I. (eds.) Representing Musical Structure, chap. 1, pp. 1–30. Academic Press (1991)

    Google Scholar 

  11. Huron, D.: Design principles in computer-based music representation. In: Marsden, A., Pople, A. (eds.) Computer Representations and Model in Music, pp. 5–40. Academic Press (1992)

    Google Scholar 

  12. Piston, W.: Harmony: Revised and expanded by Mark Devoto. Victor Gollancz Ltd. (1982)

    Google Scholar 

  13. Phon-Amnuaisuk, S., Ting, C.-Y.: Formalised symbolic reasonings for music applications. In: Abd Manaf, A., Zeki, A., Zamani, M., Chuprat, S., El-Qawasmeh, E. (eds.) ICIEIS 2011. CCIS, vol. 251, pp. 453–465. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-25327-0_39

    Chapter  Google Scholar 

  14. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

Download references

Acknowledgments

We wish to thank anonymous reviewers for their comments that have helped improve this paper. We would like to thank the GSR office for their partial financial support given to this research.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Somnuk Phon-Amnuaisuk .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Phon-Amnuaisuk, S. (2019). Exploring Music21 and Gensim for Music Data Analysis and Visualization. In: Tan, Y., Shi, Y. (eds) Data Mining and Big Data. DMBD 2019. Communications in Computer and Information Science, vol 1071. Springer, Singapore. https://doi.org/10.1007/978-981-32-9563-6_1

Download citation

  • DOI: https://doi.org/10.1007/978-981-32-9563-6_1

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-32-9562-9

  • Online ISBN: 978-981-32-9563-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics