1 / 13

Music21: A Toolkit for Computer-Aided Musicology And Symbolic Music Data

R. Michael Winters Music Information Retrieval Ichiro Fujinaga 3 April 2012. Music21: A Toolkit for Computer-Aided Musicology And Symbolic Music Data. Music21. Toolkit for symbolic music Written in Python Allows analyzing, searching, and transforming symbolic music . Benefits of Music21.

gin
Download Presentation

Music21: A Toolkit for Computer-Aided Musicology And Symbolic Music Data

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. R. Michael Winters Music Information Retrieval Ichiro Fujinaga 3 April 2012 Music21: A Toolkit for Computer-Aided Musicology And Symbolic Music Data

  2. Music21 • Toolkit for symbolic music • Written in Python • Allows analyzing, searching,and transformingsymbolic music

  3. Benefits of Music21 • Imports all major symbolic music formats: • MusicXML, Kern, MuseData, ABC, MIDI • Outputs to Lilypond or XMLreader • E.g. Finale or Sibelius • Simple methods for common tasks: (http://mit.edu/music21/)

  4. More benefits • Comes with large corpora already packaged w/ easy access • Bach’s Chorales • Beethoven’s String Quartets • Monteverdi’s Madrigals • Handle’s Messiah

  5. Integration with Python • Music21 written in Python • Widely used, available, free • Python can power querry and analysis • Extracted data can be manipulated in python

  6. Visualization with matplotlib • matplotlib is a free python plotting library • Because extracted music21 data is python data… (Cuthbert 2010)

  7. Creating and Editing Music: • Empty Music21 streams can be filled with notes, parts, and lyrics: (http://mit.edu/music21/)

  8. How it works • Import data parsed into a music21 stream • Not specific to any representation type • Hierarchical but not strictly so • Events are part of many hierarchies (Ariza 2011)

  9. The Structure • Object Oriented Language • Music21 Object is most general object • Music21 Stream is most general container (Ariza 2011)

  10. Hierarchical and Event Based Representation • .flat method switches between both (Ariza 2011)

  11. How to get started: • Download from http://mit.edu/music21/ • Cd into the directory • Open python • Write “from music21 import *” • Parse your score

  12. Online Support and Help: • Documentation and Tutorials: • http://mit.edu/music21/ • Music21 Google group: • http://groups.google.com/group/music21list • Music21 Blog: • http://music21-mit.blogspot.ca/

  13. Thank you! Questions? • Ariza, C., and M. S. Cuthbert. 2010. Modeling beats, accents, beams, and time signatures hierarchically with music21 meter objects. In Proceedings of the International Computer Music Conference, 216–223. San Francisco: International Computer Music Association. • Ariza, C., and M. S. Cuthbert. 2011a. Analytical and compositional appli- cations of a network-based scale model in music21. In Proceedings of the International Computer Music Conference, 701–708. San Francisco: In- ternational Computer Music Association. • Ariza, C., and M. S. Cuthbert. 2011b. The music21 stream: A new object model for representing, filtering, and transforming symbolic musical struc- tures. In Proceedings of the International Computer Music Conference, 61–68. San Francisco: International Computer Music Association. • Buxton, W., W. Reeves, R. Baecker, and L. Mezei. 1978. The use of hierarchy and instance in a data structure for computer music. Computer Music Journal 2 (4): 10–20. • Cuthbert, M. S., and C. Ariza. 2010. music21: A toolkit for computer-aided musicology and symbolic music data. In Proceedings of the International Society for Music Information Retrieval, 637–642. Miami, FL. • Good, M. 2001. An internet-friendly format for sheet music. In Proceedings of XML. • Hewlett, W. B. 1997. Musedata: Multipurpose representation. In E. Selfridge- Field (Ed.), Beyond MIDI: the Handbook of Musical Codes, 402–407. Cam- bridge: MIT Press. • 4Hiller, L. 1981. Composing with computers: A progress report. Computer Music Journal 5 (4): 7–21. • Huron, D. 1997. Humdrum and kern: Selective feature encoding. In E. Selfridge-Field (Ed.), Beyond MIDI: the Handbook of Musical Codes, 371–401. Cambridge: MIT Press. • Oppenheim, I., C. Walshow, and J. Atchley. 2010. The abc standard 2.0. • Pope, S. T. 1996. Object-oriented music representation. Organized Sound 1 (1): 56–68. • Selfridge-Field, E. 1997. Introduction: Describing musical information. In E. Selfridge-Field (Ed.), Beyond MIDI: the Handbook of Musical Codes, 3–38. Cambridge: MIT Press.

More Related