The script is taken from https://wim.vree.org/svgParse/abc2xml.html and the only purpose of this repository is to have quick access to the script with the steps required to use it easily for importing ABC files into Musescore. For the full documentation, please go to https://wim.vree.org/svgParse/abc2xml.html .
The test.abc
file is taken from https://thesession.org/tunes/60
In order to use the script, follow the steps:
This script requires Python 2.7, so check the version with:
which python
You should see the following output:
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
source myenv/bin/activate
source myenv/bin/activate
python abc2xml.py test.abc > output.xml
The script will override the output.xml
file.
Once finished, we can deactivate the virtualenv with the command:
deactivate