Skip to main content

sheet music converter

Project description

music-visualisation

This library converts sheet music in musicxml format to visualisations that refer to notes and chords with their relative position within the key of the song. More about how this notational system works here.

installation

  1. Download python
  2. install the integerbook package using pip: $ pip install integerbook
  3. Download or copy the file run.py from the github repository to a folder on your computer, e.g. ~/Documents/music-visualisation.

running the code

  1. In the terminal, navigate to the folder where run.py is stored, e.g. ~/Documents/music-visualisation.
  2. In the terminal, type: $ python run.py -s <path-to-song> e.g.
    $ python run.py -s "/Users/jvo/Documents/music-visualisation/example/Summertime.musicxml"

This will convert the musicxml file you specified to a pdf and store it in the current folder.

Further options include:

  • -o set output directory (without "/" at the end)
  • -b for bassline output
  • -l for printing lyrics
  • -c for colouring notes according to circle of fifths
  • -cn for printing chord notes
  • -cp for printing chord progressions (no melody, 8 measures per line)
  • -d can be used to pass a custom settings dictionary. (most flexible) See src/integerbok/settings.json for the default settings.

example musicxml files

In the folder example, there are some musicxml files that can be used to try out the program.

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

integerbook-0.0.9.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

integerbook-0.0.9-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file integerbook-0.0.9.tar.gz.

File metadata

  • Download URL: integerbook-0.0.9.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for integerbook-0.0.9.tar.gz
Algorithm Hash digest
SHA256 239c23db1e1403068ebbded3962d4beac0dfb3cf32641579c7da791650e5599c
MD5 b60e2f8e226f0d1e4cfb4700950c581b
BLAKE2b-256 30f0559ccc87ad50b468f4af5f9152168c3c2be4a0e323484eeaefe5d1e744b4

See more details on using hashes here.

File details

Details for the file integerbook-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: integerbook-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for integerbook-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b4074922d924e180af8463511bf23c634343ee07b45148b0288e6412cc8514c6
MD5 4f8a05fc4faa5853fc2e3f5c128b7ed3
BLAKE2b-256 8ec9c2ae9150d7695d8d198c868c75f5c81dd2a7089f4fc0e31752b1ffda11d0

See more details on using hashes here.

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