Python bindings for IMA rhythm analysis
Project description
pyinmean
Python - InerMetricAnalysis Python wrapper for c++ implementation of inner metric weight analysis for symbolic music.
Based on imacpp a C++ library to perform Inner Metric Analysis [1] on a series on onsets. By Peter van Kranenburg and Chris Dyer.
Usage
Install from PyPI
pip install pyinmean
import pyinmean
#For inner metric weight
print(pyinmean.get_normalized_ima([0,1,4,5,6,7,10,14,20],False))
#For spectral weight
print(pyinmean.get_normalized_ima([0,1,4,5,6,7,10,14,20],True))
Building From Source
Requires cmake
git clone https://github.com/efraimdahl/pyinmean/
cd pyinmean
git submodule update --init
mkdir build
cd build
cmake ..
make
cd ..
pip install .
[1] Nestke, A. and Noll, T. (2001). Inner Metric Analysis. In Haluska, J. (ed.), Music and Mathematics, pp. 91–111. Bratislava: Tatra Mountains Publications.
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 Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyinmean-0.1.1-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 76.0 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0d788d2370b9441c7109c5eb66bb0795503972d712302f4d1adaaa8ad7cc86f
|
|
| MD5 |
47204664989d40b2bddb9b13250df639
|
|
| BLAKE2b-256 |
79a335deb31eb8d57d8e25e9347e3e89bbdc5a9e73e5d273d2b2317b5df0dccd
|
File details
Details for the file pyinmean-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d129d33657bb71604b2339875da15ac110ef4fba60b1761c8885e5b04287045
|
|
| MD5 |
394893029908b82567c84a788278ad71
|
|
| BLAKE2b-256 |
a9d9d4d74712ee8a4eae0957ddf77749da1399b48331a843138c9e3abf1e831b
|
File details
Details for the file pyinmean-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 162.9 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0b5d67b075acaa3cd48d1cf52e9efdb09da2863a91f949016d6513a6f0e9930
|
|
| MD5 |
1268fb7f33f3daf2fb19bbe6e3167eb4
|
|
| BLAKE2b-256 |
080e75d1b33a606c1c0c417ba27b3f6ef30ac1f5dbcf470969b2df84f09347b4
|
File details
Details for the file pyinmean-0.1.1-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 76.0 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28f1e1433290e1fd1bb76e0cccd9b0d8c6be59ea9adc494deace89338f6cf4ed
|
|
| MD5 |
b2379962f226bf8163fb77dd80586e04
|
|
| BLAKE2b-256 |
49a2c70b08cac0d5b760a98fd8d93e6851105e592fc804ab713276e7f55e925f
|
File details
Details for the file pyinmean-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55a1c46ee410a8e533cd86823f8f47b213e3a28115103d95b3888c8ba84ae171
|
|
| MD5 |
7126282b5050225a8b2860628575dc0d
|
|
| BLAKE2b-256 |
aceb52454b935a7734238fb2d9d75f85f5063bc740840daa4d7d1c97a665c4d6
|
File details
Details for the file pyinmean-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 162.9 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a54cc2ff136dc469c24cc2e21ffb02d4a3f812f4f51de542ad244fcc6e396be
|
|
| MD5 |
e02d1614267bde9ab1a87438c4818bcf
|
|
| BLAKE2b-256 |
2e26e883d6b4b71f641c3c902b81bc8e50ed7dfa4faf6d03587c903590808383
|
File details
Details for the file pyinmean-0.1.1-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 75.5 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
306abfe366a80f5fe977500d8d3d9e230ddef53fcb5756185366b0334ead8e29
|
|
| MD5 |
a702940ac5b9029ee0264d8cff916f89
|
|
| BLAKE2b-256 |
c8f5d299271868571458ce5c5908221377f50623bdecf5cf4aa569d27ce21498
|
File details
Details for the file pyinmean-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
982dae02834d9d12d59963936d4b76c7ae700abdb4b386f1d66819c732a9ef1f
|
|
| MD5 |
f4afff88a4cab91f3d6eb63cac0b2e73
|
|
| BLAKE2b-256 |
ca96eaf56b8533fb9eb2373e573acd1206790a7b880427998730063fbbcc99f7
|
File details
Details for the file pyinmean-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 163.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c10925a5236418db0b61fffdf16a4b35adee4288f8ef404f7e221c7e99e9278
|
|
| MD5 |
205f4d52d0de3770c506ffb15dffa7b7
|
|
| BLAKE2b-256 |
b638e5f9563c0cc7cebba2135d3c3fcf01397dfa6ad289c5fee06b5a648b1aa8
|
File details
Details for the file pyinmean-0.1.1-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 74.2 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a7a672d5b31a392fe2481fa7f1132782f53828fd7b85705156cf93479cda2a7
|
|
| MD5 |
3ee5da4a0b417f710200011b070ce7ab
|
|
| BLAKE2b-256 |
b3e43d366a9918f0bf0f339d16215e319ead8a7f4f5869ecab7589b9c7be6e2e
|
File details
Details for the file pyinmean-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51da20a86b21e10704fe12906216b55a835d557ee82389d605e44217b152ab54
|
|
| MD5 |
4eb8d21cda31b2067db018db88a27e63
|
|
| BLAKE2b-256 |
823d17f00bab39f00c9830a2a15bee5f58addd88f8a24425390f48fc6f98044b
|
File details
Details for the file pyinmean-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 161.9 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4334245b02a6d727c5f9daa8d8b20bee0163e34c488ae653069ffce37431c07f
|
|
| MD5 |
c749697260fdd38c54adf999a7211f15
|
|
| BLAKE2b-256 |
83940065f8690f8c8baa5f1edf63e073744e38375e689967386afdc451fc5d80
|
File details
Details for the file pyinmean-0.1.1-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 74.2 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
102df0d4ff38585c0b120b7e89993a29d9555d9265749c326a41bfd98fce74a9
|
|
| MD5 |
57c0cff82d9089784a6f135723b43155
|
|
| BLAKE2b-256 |
7f55471da0e0069c24ffd7624510411612fb84a02285506cc81858437752fb6e
|
File details
Details for the file pyinmean-0.1.1-cp39-cp39-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp39-cp39-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6d406982fc6a1c058474efffa8371fa6dcda39d178931e82c6b84c5a9f3db88
|
|
| MD5 |
5ce7b05c84d370915b52dc72e49be5f5
|
|
| BLAKE2b-256 |
063554c0e862fdef4cbcaadb2a470fe70e4fa3fa08bb4df1d8a7cea3c8fc0e8d
|
File details
Details for the file pyinmean-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 162.0 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6baa3847288cb25db7750df0375eef3616fd732108b7e508b56748e15736207d
|
|
| MD5 |
2d405f14448b8d51887557fd21bd2e9a
|
|
| BLAKE2b-256 |
4217e0e3d7b1966287a3a656b5672dffb192135448468a45d26d634765e771fd
|
File details
Details for the file pyinmean-0.1.1-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 74.3 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
534fd9e01f6d1356cad0a59873d2d3da9832b7be1b52d527b16eb6fdfff8e53f
|
|
| MD5 |
be32359e3568645fda4159454df66ff6
|
|
| BLAKE2b-256 |
a6a232ac21398f487c17318d932e27704bb2c6377c586fe62e890799d618169c
|
File details
Details for the file pyinmean-0.1.1-cp38-cp38-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp38-cp38-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.8, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adc9d37f7a2e07cb62ac3eb4507a17381f8ae3bf44efdd78eb10c2b6594d637e
|
|
| MD5 |
5c0c9e729387f8d2df42278f2903ebe9
|
|
| BLAKE2b-256 |
e355cf454fd02589614b5ae18e81b842cc92458868d3dc4344a02879a25ac137
|
File details
Details for the file pyinmean-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyinmean-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 161.5 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72b66967dabf959c2b9dab492045cbc1ffb3e94ba056393cc7c8be31f53a278e
|
|
| MD5 |
12a34e033dee6fae96e348036ab69180
|
|
| BLAKE2b-256 |
bd6e35a2396580dfeebe697ca918b091cd3d0b7dc3600a4bb3114c5dd9189369
|