Tutorial 2: Delay Based Effects

Tutorial 2: Delay Based Effects

In this section, we define a function to create echo effect on input audio. Echo can be modeled as attenuated, delayed copies of the original signal added to itself. Here, it can be seen as an FIR filtering operation. The FIR filter we constructed is of form [1, delayed_sec*Fs-1, a], where delayed_sec is the number of seconds for the echo to arrive and a: 0<a<=1.

We can also make the amount of delay a function of time to make more interesting effects, such as flanger. The following function implements the flanger effect using a triangular function for time-varying delay, shown in the figure below..

Source code and test audio file: tutorial2

Recent Posts

Immersive Remote Microphone System on the Tympan Platform

This post accompanies our presentation “Immersive multitalker remote microphone system” at the 181st Acoustical Society of America Meeting in Seattle.

In our previous post, which accompanied a paper at WASPAA 2021, we proposed an improved wireless microphone system for hearing aids and other listening devices. Unlike conventional remote microphones, the proposed system works with multiple talkers at once, and it uses earpiece microphones to preserve the spatial cues that humans use to localize and separate sound. In that paper, we successfully demonstrated the adaptive filtering system in an offline laboratory experiment.

To see if it would work in a real-time, real-world listening system, we participated in an Acoustical Society of America hackathon using the open-source Tympan platform. The Tympan is an Arduino-based hearing aid development kit. It comes with high-quality audio hardware, a built-in rechargeable battery, a user-friendly Android app, a memory card for recording, and a comprehensive modular software library. Using the Tympan, we were able to quickly demonstrate our adaptive binaural filtering system in real hardware.

The Tympan processor connects to a stereo wireless microphone system and binaural earbuds.

Continue reading

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