{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# carat - rhythmic patterns demo\n", "
\n", " _ _ __ _ _|_\n", "(_ (_| | (_| |_ computer-aided rhythm analysis toolbox\n", "\n", "\n", "This notebook shows how to extract rhythmic 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", "* *Tools for detection and classification of piano drum patterns from candombe recordings.* Rocamora, Jure, Biscainho. 9th Conference on Interdisciplinary Musicology (CIM), Berlin, Germany. 2014. [CIM2014](https://iie.fing.edu.uy/publicaciones/2014/RJB14/)\n", "\n", "**Note:** At this point it is assumed that there are beat 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", "* Compute an accentuation feature\n", "* Compute a map of rhythmic patterns\n", "* Group the rhythmic patterns into clusters\n", "* Display the centroids of the obtained clusters\n", "* Display a low-dimensional representation of the 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", "