{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# carat - onsets detection demo\n", "
\n", " _ _ __ _ _|_\n", "(_ (_| | (_| |_ computer-aided rhythm analysis toolbox\n", "\n", "\n", "This notebook shows how to extract onsets from a recording using the [carat](https://github.com/mrocamora/carat) library.\n", "\n", "The procedure consist in computing an accentuation feature function, based on siezing the changes in the spectral magnitude of the audio signal along different frequency bands, and peak picking in the accentuation feature function to identify onset candidates.\n", "\n", "The following steps shows how to:\n", "\n", "* Load audio input from file\n", "* Compute the accentuation feature function\n", "* Peak detection on the accentuation feature function\n", "* Compare the detected onsets with manual annotations" ] }, { "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", "