Library for melody analysis based on pitch context vectors.
Project description
pitchcontext
Library for melody analysis based on pitch context vectors.
Prerequisites:
- lilypond installed and in command line path
- convert (ImageMagick) installed and in command line path
- kernfiles and corresponding .json files with melodic features
Installation
Use the provided pyproject.toml and poetry. In root of the rep do:
$ poetry install
This creates a virtual environment with pitchcontext installed.
Examples
Requires a Python3 environment with both pitchcontext and streamlit installed. Two examples are provided:
- apps/st_dissonance.py
- apps/st_novelty.py
To run:
$ streamlit run st_dissonance.py -- -krnpath <path_to_kern_files> -jsonpath <path_to_json_files>
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
pitchcontext-0.1.3.tar.gz
(18.4 kB
view hashes)
Built Distribution
Close
Hashes for pitchcontext-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a1f8718405eab805f9c57bbc8cd66464473c38c462ab8bc76245480aa65195e |
|
MD5 | 673bcb5a2693da92072020c2b3df246a |
|
BLAKE2b-256 | cb04c52af49cf05cb872d339575ffefb3bba5badb112c261f138cb3ae181d405 |