Skip to content

martha-thomae/mei_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mei_tutorial

Tutorial on the basics of MEI

Installation

  1. Clone the repository
  2. Create your own branch (in which you will push your output files)
  3. Go into your mei_tutorial local copy and run:
  • docker-compose up
  1. When it finishes (you will see something similar to Starting mei_tutorial_pymei_1 ... done), open a new terminal (go into your mei_tutorial local copy again) and run:
  • docker-compose exec pymei bash
    • $> ipython
    import pymei

Instructions

  • The path to the template file is: /opt/drafts/MEI_CMN-general-structure.mei
  • Edit this file using pymei and save the result as /opt/drafts/output_with_pymei.mei
  • Check the result in Verovio's MEI Viewer
  • Push the resulting MEI file into your own branch

PyMEI Documentation

The doc and element are just variables used here for reference.

doc refers to an MeiDocument object.

element and element2 refer to MeiElement objects.

alt text

About

Tutorial on the basics of MEI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published