Skip to main content

Tools for working with SMW Music

Project description

Bandit status Lint status MYPY status Unit test status Code Coverage PyPI - Package Version PyPI - Python Version Documentation Status PyPI - Status REUSE Status PyPI - License python-style

Library and utilities for generating AddMusicK-compatible MML files from MusicXML.

The tooling has only been tested with exported MusicXML files from MuseScore 3.6.2, but it should work with outputs from other music notation software. Output files are tested against AddMusicK 1.0.8.

The software (and especially the libraries) are beta. APIs may change at any time for any/no reason.

Local Installation

Use pip to install smw_music:

pip install smw_music

Or install from source using poetry:

pip install poetry
git clone https://github.com/com-posers-pit/smw_music
cd smw_music
poetry install --only main

Usage

After installing the tools, convert a MusicXML file song.mxl to an AddMusicK MML file song.txt by running the following command:

smw_music_xml_to_amk  song.xml song.txt

See Examples in the official documentation for more detailed examples and a feature list.

Contributing

Pull requests are welcome. See our Contributor Guide for information.

License

The SMW Music Python Project Copyright (C) 2021 The SMW Music Python Project Authors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

A copy of the AGPL v3.0 is available here

Acknowledgements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smw_music-0.3.4.tar.gz (210.7 kB view details)

Uploaded Source

Built Distribution

smw_music-0.3.4-py3-none-any.whl (237.6 kB view details)

Uploaded Python 3

File details

Details for the file smw_music-0.3.4.tar.gz.

File metadata

  • Download URL: smw_music-0.3.4.tar.gz
  • Upload date:
  • Size: 210.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.10.2 Linux/5.15.0-1034-azure

File hashes

Hashes for smw_music-0.3.4.tar.gz
Algorithm Hash digest
SHA256 c67663cd4407822a9e396412b9d586ff04bc1b66e869728964fb44e92abcf7ee
MD5 b0b981e9b5369e51d09395882afe521f
BLAKE2b-256 1898fd96282d032e4fdec7e3d9af4543a3073621d84075f2ba01269686097a12

See more details on using hashes here.

Provenance

File details

Details for the file smw_music-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: smw_music-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 237.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.10.2 Linux/5.15.0-1034-azure

File hashes

Hashes for smw_music-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 35c71aa9c50a0164566d64bc8439c5f94847db2442849316ae203cf3935bb361
MD5 b3f6bc840c4f83c8e620e4aaedf68e75
BLAKE2b-256 346d90e186f0650853b52b803e16bb9a843895a1deb94b9a1658bd62cd6f9a40

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page