No project description provided
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.1.tar.gz
(17.6 kB
view hashes)
Built Distribution
Close
Hashes for pitchcontext-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e186b7bcf00661d3ef5cec4a93dd8d727d588a02ce0c6c9748e2734326300d5 |
|
MD5 | aaf4ee883c814aff6a59e1beb51fd71f |
|
BLAKE2b-256 | 8c291ea85ce1363e8819436009e379e7bd9a252469b5c8a63ddcd6b663d331fd |