maiacore 1.9.3
Music analisys library
|
This library is a multiplatform set of musical tools that enable musical score analysis and composition in an easy and fast way.
The project maiacore was written in C++17
, but it also has a Python
wrapper that allows a greater number of people (i.e. musicians not trained in IT) to also have in their hands the same power and musical tools available in maialib
.
IMPORTANT: The maialib Python package includes all maiacore classes and functions and some additional other pure python functions. This website covers the maiacore-only classes and functions documentation, which are also present inside the maialib python package.
We hope to add documentation of functions written in Python to this site in the future, so that we can have complete documentation of maialib.
Or, if you have an older maialib
version installed on your system, please get the latest version running: pip install maialib --upgrade
You can easily import your sheet music (*.xml
file) to Python environment using:
Now you can explore some maialib
features like:
To import musical scores the file extensions must be: *.xml
, *.mxl
or *.musicxml
You can easily export your music files to these file formats above from score editors, like:
Many MusicXML
files are avaliable for free in the Internet for download.
*.xml
(or *.musicxml
or *.mxl
) file.MusicXML
file from it*.xml
file:
This project have 2 documentation levels. One for each user type:
You can explore maialib
features looking at python-tutorial
folder (link here).
There you will learn how to use and mix maialib
classes and functions to reach your musical goals If you are starting out, please check these 3 basic maialib
Python tutorials:
*.py
or *.ipynb
file extensions.*.ipynb
extension, make sure to install nbformat
Python package to enable visualize maialib graphs on VS Code editor. To do that: pip install nbformat --upgrade
Operational System | Compilers |
---|---|
Windows 10 x64 | Clang 18.0 |
Linux Ubuntu 20.04 | GCC 9.3 |
Apple OSX 10.15 | XCode 11.5 (Command Line Tools) |
Open a terminal (or CMD in Windows), enter inside of the maialib
folder.
Type: make
to build the Python module
When the build process finishes, type: make install
Done!
Official Python
, Microsoft Python
, MSYS2 Python
and others can direct the build system to choose a wrong version to build and install the library. Terminal
(or CMD
on Windows) and type: - Linux or Mac: - which python
- which python3
- Windows: - where.exe python
- where.exe python3
maialib
Python stubs and autocomplete are not working good on VS Code. Run: "Pylance: Clear Persisted Indices"Nycholas Maia - nyckm.nosp@m.aia@.nosp@m.gmail.nosp@m..com
Maialib is licensed under GPLv3 License