Tutorial 1: Introduction to Audio Processing in Python

Tutorial 1: Introduction to Audio Processing in Python

In this tutorial, I will show a simple example on how to read wav file, play audio, plot signal waveform and write wav file. The environment you need to follow this guide is Python3 and Jupyter Notebook. You can setup the environment by installing Anaconda.

The source file and audio sample used in this tutorial can be downloaded here: tutorial1

Recent Posts

An Unofficial Port of Matrix HAL to Ubuntu 22.04 and Raspbian Bullseye

What is Matrix VOICE and Matrix HAL?

The Matrix VOICE is described on the Matrix website as a “development board for building sound driven behaviors and interfaces.” It is a nifty piece of hardware that features an 8-microphone array and has unique possibilities for beamforming and audio processing applications.

However, in February 2021, when Matrix Labs was bought out, development and support for the Matrix VOICE C++ library, the Matrix HAL, was silently withdrawn.

The latest release of Matrix HAL only works with a version of the Raspberry Pi OS called Raspbian Buster which is fine for a lot of applications, but recently our research has been focused on integrating this device with ROS, a robotics framework that is meant for Ubuntu. While there were workarounds for using ROS on Raspbian Buster, this would not be without its own unique set of challenges.

It was determined that it would be valuable to investigate patching the Matrix HAL to work on Ubuntu 22.04. And over the summer, we were able to accomplish this goal.

Description of the Port

There are some limitations to the port. With our own acoustic research being the primary application, we did not ensure the functionality of sensors other than the microphone array. This means there is currently no support for the humidity sensor, IMU, pressure sensor or UV sensor. There is currently only support for the microphone array and the Everloop LED interface.

Additionally, the repo has not been tested on the Matrix CREATOR and there is no guarantee that it will be compatible with this patch.

You can download the source from this Github repository. Please direct any support related inquiries to gfw3@illinois.edu.

  1. Enhancing Group Conversations with Smartphones and Hearing Devices Leave a reply
  2. Turning the Music Down with Wireless Assistive Listening Systems Leave a reply
  3. Group Conversation Enhancement Leave a reply
  4. Motion and Audio, with Robots Leave a reply
  5. Immersive Remote Microphone System on the Tympan Platform Leave a reply
  6. Improving remote microphones for group conversations Leave a reply
  7. Dynamic Range Compression and Noise Leave a reply
  8. Source Separation using a Massive Number of Microphones Comments Off on Source Separation using a Massive Number of Microphones
  9. Face masks make it harder to hear, but amplification can help Leave a reply