pitchplots
library plotting charts for different tonal representations
Getting Started
The program consist in the following files: functions.py, reader.py, modified_musicxml_parser.py, parser.py and static.py
Prerequisites
What things you need to install the software and how to install them
You will need python on your computer and the following libaries: matplotlib, pandas and numpy
note that if you are using anaconda, these libraries are already installed
Installing
You can download the pitchplots package on pypi with pip using the following command in the prompt:
python3 -m pip install pitchplots
or if you're using anaconda prompt
pip install pitchplots
Running the tests
you can first try to parse xml/musicScore xml files to csv or DataFrame, that is the Gymnopédie from Sati with:
import pitchplots.parser as ppp
# If no filepath is specified, will automatically charge data_example.mxl
df_data_example = ppp.xml_to_csv(save_csv=True)
then you can try the static module by passing csv files or Dataframe:
import pitchplots.static as pps
pps.tonnetz(df_data_example)
or
import pitchplots.static as pps
pps.circle('csv/data_example.csv')
to try the dynamic videos:
import pitchplots.dynamic as ppd
ppd.tonnetz_animation(df_data_example)
Authors
- Timothy Loayza, Fabian Moss
Use of magenta's code
The modified_musicxml_parser.py file is taken from the magenta project and has been modified. Therefore the modifications are listed in the magenta_musicxml_code_modifications.md file and there is the magenta_LICENSE.md.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Metadata
Release files for pitchplots 1.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pitchplots-1.4.2.tar.gz | 36.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pitchplots-1.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.0 kB
Release files / pitchplots-1.4.2.tar.gz
| Download URL | pitchplots-1.4.2.tar.gz |
|---|---|
| Size | 36.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
239e3f3ca9e5fc7f400b1f5e913fc7b2771d2d0973b80b7e1bef2f558c001bec
|
|
BLAKE2b-256 checksum How to use checksums |
1ea46e04a2ec0d04473702e3f37c3d850b0056d0ed70ca0f5b9a61d3b368712a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1
|
Release files / pitchplots-1.4.2-py3-none-any.whl
| Download URL | pitchplots-1.4.2-py3-none-any.whl |
|---|---|
| Size | 36.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
214b9d273f4d2c381b92bc873f6863d1ead24b3fd20d118f7c4318757a3b9947
|
|
BLAKE2b-256 checksum How to use checksums |
0c0fb518d9b99b9657a2613cb2c56416413652f8d6b1077e8b4566e8dcb0433e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1
|