Metadata-Version: 2.1
Name: musicxml2fmf
Version: 0.3.1
Summary: MusicXML to Flipper Music Format
Home-page: https://github.com/white-gecko/musicxml2fmf
License: MIT
Keywords: music,converter,flipper-zero,flipper,musicxml
Author: Natanael Arndt
Author-email: arndtn@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Multimedia
Classifier: Topic :: Multimedia :: Sound/Audio
Classifier: Topic :: Multimedia :: Sound/Audio :: Conversion
Classifier: Topic :: Multimedia :: Sound/Audio :: Sound Synthesis
Classifier: Topic :: Utilities
Requires-Dist: black (>=22.6.0,<23.0.0)
Requires-Dist: click (>=8.1.3,<9.0.0)
Requires-Dist: lxml (>=4.9.1,<5.0.0)
Project-URL: Bug Tracker, https://github.com/white-gecko/musicxml2fmf/issues
Project-URL: Repository, https://github.com/white-gecko/musicxml2fmf
Description-Content-Type: text/markdown

# MusicXML to Flipper Music Format

This script reads a (not compressed) [MusicXML](https://www.w3.org/2021/06/musicxml40/) ([Wikipedia](https://en.wikipedia.org/wiki/MusicXML)) file and transforms it to the [Flipper Music Format](https://github.com/Tonsil/flipper-music-files) which can be executed on the [Flipper Zero](https://flipperzero.one/).

This allows to compose your music with graphical tools like [MuseScore](https://en.wikipedia.org/wiki/MuseScore) and play the music on the Flipper.

## Installation

### Via PyPi

The package is on [pypi](https://pypi.org/project/musicxml2fmf/). Just run:

```
pip install musicxml2fmf
```

### From Source

To install the script from source you need [poetry](https://python-poetry.org/).
With poetry run:

```
$ poetry install
…
$ poetry run musicxml2fmf --help
```

## TODO
- Tests
- Changelog
- Support for multiple parts: selection of a part to convert
- get bpm based on the tempo given in musicxml
- Don't write out the octave and duration if it is the same as the default

