How To Install python-mididings on Ubuntu 18.04

In this tutorial we learn how to install python-mididings on Ubuntu 18.04. python-mididings is MIDI routing library for Python

Introduction

In this tutorial we learn how to install python-mididings on Ubuntu 18.04.

What is python-mididings

python-mididings is:

mididings is a MIDI router and processor based on Python, supporting ALSA and JACK MIDI.

Features:

  • MIDI routing and filtering Filter events depending on their event type, channel, note number, velocity, etc., and freely route them between an arbitrary number of input and output ports.
  • Modifying and converting MIDI events Transpose notes, apply velocity curves, change controller values and ranges, or convert events to any other MIDI event type. mididings also includes more complex functions like a diatonic harmonizer, floating split points, latched notes, and more.
  • Seamless switching between patches Set up different “scenes”, each with its own MIDI routing and processing, and switch between them at any time, even while playing. Switching scenes does not affect notes already held, and does not result in dropouts or stuck notes!
  • MIDI event monitoring, running external commands Print MIDI event data to the console to help debugging your patches and configuring your MIDI controllers. In addition to its MIDI output, mididings can also execute shell commands and send OSC or DBUS messages.

There are three methods to install python-mididings on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-mididings Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python-mididings

Install python-mididings Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-mididings

Install python-mididings 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install python-mididings

How To Uninstall python-mididings on Ubuntu 18.04

To uninstall only the python-mididings package we can use the following command:

sudo apt-get remove python-mididings

Uninstall python-mididings And Its Dependencies

To uninstall python-mididings and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove python-mididings

Remove python-mididings Configurations and Data

To remove python-mididings configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-mididings

Remove python-mididings configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-mididings

References

Summary

In this tutorial we learn how to install python-mididings package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.