How To Install vamp-examples on Debian 11

In this tutorial we learn how to install vamp-examples on Debian 11. vamp-examples is example Vamp plugins, host and RDF generator

Introduction

In this tutorial we learn how to install vamp-examples on Debian 11.

What is vamp-examples

vamp-examples is:

Vamp is an audio processing plugin system for plugins that extract descriptive information from audio data - typically referred to as audio analysis plugins or audio feature extraction plugins.

This package contains the following example plugins:

  • Zero Crossings calculates the positions and density of zero-crossing points in an audio waveform.

  • Spectral Centroid calculates the centre of gravity of the frequency domain representation of each block of audio.

  • Simple Power Spectrum calculates a power spectrum from the input audio. Actually, it doesn’t do any work except calculating power from a cartesian complex FFT output. The work of calculating this frequency domain output is done for it by the host or host SDK; the plugin just needs to declare that it wants frequency domain input. This is the simplest of the example plugins.

  • Amplitude Follower is an implementation of SuperCollider’s amplitude-follower algorithm as a simple Vamp plugin.

  • Simple Percussion Onset Detector: estimates the locations of percussive onsets using a simple method described in “Drum Source Separation using Percussive Feature Detection and Spectral Modulation” by Dan Barry, Derry Fitzgerald, Eugene Coyle and Bob Lawlor, ISSC 2005.

  • Simple Fixed Tempo Estimator: calculates a single beats-per-minute value which is an estimate of the tempo of a piece of music that is assumed to be of fixed tempo, using autocorrelation of a frequency domain energy rise metric. It has several outputs that return intermediate results used in the calculation, and may be a useful example of a plugin having several outputs with varying feature structures.

Also included is a simple host that can enumerate plugins, list their features, and process an audio file as well as a utility to generate Vamp plugin RDF templates.

There are three methods to install vamp-examples on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install vamp-examples Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install vamp-examples using apt-get by running the following command:

sudo apt-get -y install vamp-examples

Install vamp-examples Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install vamp-examples using apt by running the following command:

sudo apt -y install vamp-examples

Install vamp-examples Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install vamp-examples using aptitude by running the following command:

sudo aptitude -y install vamp-examples

How To Uninstall vamp-examples on Debian 11

To uninstall only the vamp-examples package we can use the following command:

sudo apt-get remove vamp-examples

Uninstall vamp-examples And Its Dependencies

To uninstall vamp-examples and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove vamp-examples

Remove vamp-examples Configurations and Data

To remove vamp-examples configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge vamp-examples

Remove vamp-examples configuration, data, and all of its dependencies

We can use the following command to remove vamp-examples configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge vamp-examples

Dependencies

vamp-examples have the following dependencies:

References

Summary

In this tutorial we learn how to install vamp-examples package on Debian 11 using different package management tools: apt, apt-get and aptitude.