How To Install pd-vbap on Debian 9

In this tutorial we learn how to install pd-vbap on Debian 9. pd-vbap is Pd library for Vector Base Amplitude Panning spatialization

Introduction

In this tutorial we learn how to install pd-vbap on Debian 9.

What is pd-vbap

pd-vbap is:

This a library for Pure Data that provides objects for realtime Vector Base Amplitude Panning. Vector Base Amplitude Panning (VBAP) is a method for positioning virtual sources to arbitrary directions using a setup of multiple loudspeakers. In VBAP the number of loudspeakers can be arbitrary, and they can be positioned in an arbitrary 2-D or 3-D setups. VBAP produces virtual sources that are as sharp as is possible with current loudspeaker configuration and amplitude panning methods, since it uses at one time the minimum number of loudspeakers needed, one, two, or three.

With 2-D setups VBAP is a reformulation of the existing pair-wise panning method. Different from other panning algorithms, VBAP can be generalized for 3-D loudspeaker setups as a triplet-wise panning method. A sound signal is then applied to one, two, or three loudspeakers simultaneously. VBAP has certain advantages compared to earlier virtual source positioning methods in arbitrary layouts. Previous methods either used all loudspeakers to produce virtual sources, which results in some artefacts, or they used loudspeaker triplets with a non-generalizable 2-D user interface.

The directional qualities of virtual sources generated with VBAP can be stated as follows. Directional coordinates used for this purpose are the angle between a position vector and the median plane (?cc), and the angle between a projection of a position vector to the median plane and frontal direction (?cc). The perceived ?cc direction of a virtual source coincides well with the VBAP panning direction when a loudspeaker set is near the median plane. When the loudspeaker set is moved towards a side of a listener, the perceived ?cc direction is biased towards the median plane. The perceived ?cc direction of an amplitude-panned virtual source is individual and cannot be predicted with any panning law.

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

Install pd-vbap Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pd-vbap

Install pd-vbap Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pd-vbap

Install pd-vbap 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 pd-vbap using aptitude by running the following command:

sudo aptitude -y install pd-vbap

How To Uninstall pd-vbap on Debian 9

To uninstall only the pd-vbap package we can use the following command:

sudo apt-get remove pd-vbap

Uninstall pd-vbap And Its Dependencies

To uninstall pd-vbap and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove pd-vbap

Remove pd-vbap Configurations and Data

To remove pd-vbap configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge pd-vbap

Remove pd-vbap configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pd-vbap

Dependencies

pd-vbap have the following dependencies:

References

Summary

In this tutorial we learn how to install pd-vbap package on Debian 9 using different package management tools: apt, apt-get and aptitude.