{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# carat - microtiming patterns demo\n", "
\n", " _ _ __ _ _|_\n", "(_ (_| | (_| |_ computer-aided rhythm analysis toolbox\n", "\n", "\n", "This notebook shows how to extract microtiming patterns from a recording using [carat](https://github.com/mrocamora/carat) library.\n", "\n", "The procedure is based on the tools proposed in:\n", "\n", "* *Microtiming in the rhythmic structure of candombe drumming patterns.* Jure, Rocamora. 4th International Conference on Analytical Approaches to World Music (AAWM), New York, USA. 2016. [AAWM2016](https://iie.fing.edu.uy/publicaciones/2016/JR16/)\n", "\n", "**Note:** At this point it is assumed that there are beat and onset annotations for the recording.\n", "\n", "The following steps shows how to:\n", "\n", "* Load audio input from file\n", "* Load beat annotations from file\n", "* Load onset annotations from file\n", "* Align beats to closest onsets\n", "* Normalize onsets to the beat duration\n", "* Assign onsets to positions in the metrical grid\n", "* Compute the microtiming pattern of the onsets\n", "* Compare two different microtiming patterns" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### How to run the notebook\n", "You can download the notebook and run it locally in your computer.\n", "\n", "You can also run it in Google Colab by using the following link. \n", "\n", "
\n", " Run in Google Colab\n", " | \n", "