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 pythonYou should see the following output:
/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonsource myenv/bin/activatesource myenv/bin/activatepython abc2xml.py test.abc > output.xmlThe script will override the output.xml file.
Once finished, we can deactivate the virtualenv with the command:
deactivate