Metadata-Version: 2.1
Name: iracema
Version: 0.2.0
Summary: Audio Content Analysis for Research on Musical Expressiveness and Individuality
Home-page: http://github.com/cegeme/iracema
Author: Tairone Magalhães
Author-email: taironemagalhaes@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Topic :: Multimedia :: Sound/Audio :: Analysis
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/x-rst
Requires-Dist: numpy (>=1.18.5)
Requires-Dist: scipy (>=1.6.1)
Requires-Dist: sounddevice (>=0.3.12)
Requires-Dist: audioread (>=2.1.8)
Requires-Dist: matplotlib (==3.3.4)
Requires-Dist: resampy (==0.2.2)
Requires-Dist: Deprecated (==1.2.10)
Requires-Dist: librosa (==0.8.0)
Requires-Dist: w3lib (==1.22.0)
Requires-Dist: tensorflow (==2.3.2)

.. figure:: img/iracema-logo.png
  :width: 50%
  :alt: Iracema

|

|Tests|

.. |Tests| image:: https://github.com/cegeme/iracema/workflows/Tests/badge.svg


############
Introduction
############

Iracema is a Python package aimed at the empirical research on music
performance, with focus on the analysis of expressiveness and individuality
from audio recordings. It is developed and maintaned by researchers at
CEGeME_, and contains computational models of music information extraction
that were developed for supporting research projects in music performance. It
was strongly inspired by Expan, a Matlab tool that had been previously
developed at CEGeME.

.. _CEGeME: http://musica.ufmg.br/cegeme


************
Installation
************

We strongly recommend that you install iracema into a separate virtual environment,
since it is always a good practice to keep project-specific dependencies isolated
from your base Python installation (check instructions in the section Virtual
environment). After activating your virtual environment, you can install iracema
by running the following command:

.. code-block:: bash

   pip3 install iracema


If you're a Linux user, you will need to manually install an audio I/O library 
called PortAudio. If you are a MacOS X user, this library is probably already
installed. In Debian / Ubuntu you can install it using apt:

.. code-block:: bash

   sudo apt install libportaudio2


Virtual environment
===================

To create a virtual environment to use iracema, go to the project's folder
and run:

.. code-block:: bash

   python3 -m venv venv

A folder called `venv` will be created, where you will be able to install
all the project's dependencies, isolated from your base Python installation.
To activate this newly created environment, type the following command:

.. code-block:: bash

   source venv/bin/activate

**********
Developing
**********

To contribute with the development of iracema, clone the repository from github:

.. code-block:: bash

   git clone --recurse-submodules https://github.com/cegeme/iracema.git


The command shown above will also clone some example audio files. 
If you don't want to download those files, you should omit the
parameter ``--recursive``:

.. code-block:: bash

   git clone https://github.com/cegeme/iracema.git


To install the required dependencies and the cloned project in pip, go to the directory 
where the repository was cloned and type in your command line:

.. code-block:: bash

   pip3 install -r requirements.txt
   pip3 install -e .



Dependencies
============

- Python packages (required):

  * numpy
  * scipy
  * matplotlib
  * sounddevice
  * audioread

- Optional dependencies:

  * ffmpeg, libav, gstreamer or core audio (for opening different audio file
    formats)
  * libportaudio2 (if you want to play audio)


