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

Dynamic Range Compression and Noise

This post accompanies our presentation “Dynamic Range Compression of Sound Mixtures” at the 2020 Acoustical Society of America meeting. Complete details are available in the paper preprint “Modeling the effects of dynamic range compression on signals in noise.”

Nearly every modern hearing aid uses an algorithm called dynamic range compression (DRC), which automatically adjusts the amplification of the hearing aid to make quiet sounds louder and loud sounds quieter. Although compression is one of the most important features of hearing aids, it might also be one of the reasons that they work so poorly in noisy environments. Hearing researchers have long known that when DRC is applied to multiple sounds at once, it can cause distortion and make background noise worse. Our research team is applying signal processing theory to understand why compression works poorly in noise and exploring new strategies for controlling loudness in noisy environments.

Continue reading

  1. Source Separation using a Massive Number of Microphones Comments Off on Source Separation using a Massive Number of Microphones
  2. Face masks make it harder to hear, but amplification can help Leave a reply
  3. What do you want from hearing tech? Leave a reply
  4. How do face masks affect speech? Leave a reply
  5. Hearing aid algorithm adapted for COVID-19 ventilators Leave a reply
  6. Audio Source Remixing Leave a reply
  7. Augmented Listening Video Leave a reply
  8. Deformable Microphone Arrays Leave a reply
  9. EchoXL Leave a reply