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
- Download python
- install the integerbook package using pip:
$ pip install integerbook
- 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
- In the terminal, navigate to the folder where
run.py
is stored, e.g.~/Documents/music-visualisation
. - 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
Release history Release notifications | RSS feed
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.8.tar.gz
(1.2 MB
view details)
Built Distribution
File details
Details for the file integerbook-0.0.8.tar.gz
.
File metadata
- Download URL: integerbook-0.0.8.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dac24f9da2c76ad2eb981fa307182f92d9d182159251744ab2bbf3703f02ef2 |
|
MD5 | 2e57e0a3b6a148234830204bb2ad62f6 |
|
BLAKE2b-256 | 4e9c9c9e64c028e37e7c284d1e2c8a4420cc76f4eb4e69d67e094c518332fecc |
File details
Details for the file integerbook-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: integerbook-0.0.8-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66662e49fd20a6f88f0f4cc84a62f7f1d201dd106b23e094b122cfdf6192eea5 |
|
MD5 | ee84dc78e3533440b5c33b14de80be92 |
|
BLAKE2b-256 | 47b908a07d3a3bda906b8a2bdcd55cec6969ccdda969b04493b0c591edf6353c |