Libmei: Cross-platform C++ library for MEI

LibMEI is a C++ library for reading and writing MEI files.


LibMEI is currently in Beta. Documentation and the latest source code is on our GitHub repository.

LibMEI Documentation

We have auto-generated Doxygen documentation.

Compilation & Usage

We provide an XCode project for OSX and a cmake script for Linux.

To build on Linux, simply

    mkdir build; cd build
    cmake ..
    sudo make install

To use libmei, include

    #include <mei/mei.h>

More detailed information about compilation and use is available at the libmei wiki:


We welcome bug reports, feature requests, and patches to the libmei project page:


Development of LibMEI was made available with funding from the Social Sciences and Humanities Research Council of Canada.


LibMEI is released under the MIT license.