This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A tool for musicological analysis from audio files. Now it is focused on modal music analysis : Scale analysis, tonic detection

Project Description

Overview

Music22 is a Python2 package for musicological analysis, especially modal music and melodies. The analysis is done from audio files.

For now, it’s main features are :

  • Fondamental frequencies extraction (using PredominentMelody() from Essentia);
  • Getting the main frequencies as peaks of the probability density function from frequencies;
  • Comparing PDFs using a correlation coefficient;
  • Getting a similarity matrix between melodies.

Installation

To use Music22, you need to manually install Essentia. In futur versions, it will be also possible to use TimeSide.

Then, install Music22 with the following :

pip install music22

Or, if you have a GitLab account, using git:

git clone https://gitlab.com/AnasGhrab/music22
python setup.py install

Basic Usage

To use Music22 :

from music22 import modalis,scale
path = "path/to/a/folder/with/audios/wav/files/"
Kchants = modalis.melodies(path,transpose='Yes',freqref=300)

Then you can

Kchants.pdf_show()
Kchants.matrix()
Kchants.melodies[0].scale

For more details, please read to the tutorial (in french) :

http://nbviewer.ipython.org/github/AnasGhrab/music22/blob/master/docs/source/examples/barraq.ipynb

Contact

Homepage: http://anas.ghrab.tn

Email:

License

GNU General Public License

https://www.gnu.org/licenses/gpl-3.0.en.html

https://gitlab.com/AnasGhrab/music22/blob/master/LICENSE

Copyright (c) 2015-2017 Anas Ghrab

Release History

Release History

This version
History Node

0.0.5

History Node

0.0.5rc0

History Node

0.0.2.post1

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
music22-0.0.5-py3-none-any.whl (17.2 kB) Copy SHA256 Checksum SHA256 py3 Wheel Jan 2, 2017
music22-0.0.5.tar.gz (12.0 kB) Copy SHA256 Checksum SHA256 Source Jan 2, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting