You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.
This package contains a collection of scripts for parsing and translating music notation written in [Cavatina](https://github.com/LexLuengas/cavatina). It contains readers for rich text (.rtf) and plain text (.txt) and can translate to the MusicXML and MIDI formats.
The syntax of the Cavatina language is described on the [documentation page](http://www.cavatinafont.com/docs.html).
## Example usages
**Convert a RTF file to MusicXML.**
$ python rtf2xml.py [path] [format]
**Convert a Cavatina string to MusicXML.**
$ python translator.py [string] [format]
## Support
Currently supported keyboard layouts are:
- English (International)
- English (US)
- English (UK, Apple)
- English (UK, Windows)
- French
- German
- Italian
- Spanish
- Spanish (ISO)
- Portuguese (Brazil, Windows)
- Portuguese (Portugal, Windows)
### Installation
Either install the library with pip via the usual `pip install cavatina`, or clone the repo and run `python setup.py install` on its root directory.