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.

running the code

From the root folder of the repository, run the following line in the terminal:

$ python run.py

This will convert the file "All_Of_Me.musicxml" located in the examples folder and place the result in the root folder of the repository.

The most important options are the following:

  • -s set song path (can be either .musicxml or .mxl file)
  • -o set output directory (without "/" at the end)

example: $ python run.py -s "/Users/jvo/Documents/music-visualisation/example/Summertime.musicxml" -o "/Users/jvo/Downloads/output"

Further options include:

  • -b for bassline output
  • -l for printing lyrics
  • -c for colouring notes according to circle of fifths
  • -r for realbook font (note that you first have to install the font (located in fonts folder))
  • -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 'sample/settings.json' for the default settings.

requirements

  • music21
  • matplotlib

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.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for integerbook-0.0.1.tar.gz
Algorithm Hash digest
SHA256 722e258a6db97a9c4df4cc83238234b869345d78cfa2daff1f29dae6060bb91a
MD5 fc21eea79ef48bde362d3263dd780139
BLAKE2b-256 78ebb80d0a083918e26f1ed44dc30540cea7b4ffa7656efda2f476c32a69407b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: integerbook-0.0.1-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.10.9

File hashes

Hashes for integerbook-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99695dad901a6896d98dd15e5bf6c958eac7ee3d62a8a1168f5cbb9ae45f356d
MD5 3b19ed3def2fa22f416c541ffdc075f2
BLAKE2b-256 509ac35b916110955fb97706f92342da9ad143f53662eecbb12f4d6b1fb95d35

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