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.4.tar.gz
(18.3 kB
view hashes)
Built Distribution
Close
Hashes for pitchcontext-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1eb38394d20e5494f8a7ffa4f355dc80ff84dac3250e5934ffb42b3d0e44e88 |
|
MD5 | f0d5762fa1fd103ce4a0e38b0365d56a |
|
BLAKE2b-256 | 4ab7c8c452bf77e4a416cf4b8da51f43911a3d68435fb32ca73c076e16391207 |