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.11.tar.gz (114.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

integerbook-0.0.11-py3-none-any.whl (106.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: integerbook-0.0.11.tar.gz
  • Upload date:
  • Size: 114.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.0

File hashes

Hashes for integerbook-0.0.11.tar.gz
Algorithm Hash digest
SHA256 4bb091f3f9b9af99392b4eb79be02d86d23149aa450460859647314cf842ae4c
MD5 bada58c425abfa87ae7da9cc885b829f
BLAKE2b-256 e71ebcf8d1a9d5e4b21a15dd1e86b3a3b7a8a37cebd5abe74182866372ea0b0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: integerbook-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 106.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.0

File hashes

Hashes for integerbook-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 26c2d935fc7eaed99e810996ab05f6f1971938118ea9966c48e2f3bccd22f5f5
MD5 6715e4a2c9809b6bf133df62aafa5f30
BLAKE2b-256 3652f3682dcbfc27375f648220a6d3b646580039c3383e9e9faf5108ed76087f

See more details on using hashes here.

Supported by

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