[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUDITORY] Hearing Loss simulator for processing audio files



This question has gone around a few times, and 3D Audio Toolkit is usually the answer. I personally used the toolkit for great visual modification of signals in realtime to represent various types of hearing loss and hearing aid treatment. If you're looking for something more programmatic, you can check out Clarity's NALR and Audiogram modules here: https://github.com/claritychallenge/clarity/blob/main/clarity/enhancer/nalr.py and here: https://github.com/claritychallenge/clarity/blob/main/clarity/utils/audiogram.py

I used these modules in my own study, but they were a bit tricky to utilize out of the box. If you're looking for implementation details, feel free to take a look at my implementation here:
https://github.com/hyve9/samplifi/blob/main/samplifi.py#L475-L499

You can import this in your own project with:

from samplifi import apply_audiogram

(See here for using as a module: https://github.com/hyve9/samplifi?tab=readme-ov-file#using-as-a-module)

HTH!

Regards,
Xander



On Sat, Mar 8, 2025 at 3:51 AM Picinali, Lorenzo <l.picinali@xxxxxxxxxxxxxx> wrote:
Hello Pragati,

you can try the 3D Tune-In Toolkit, which implements a non-linear attenuator (that can be calibrated from an audiogram), frequency smearing (Baer&Moore) and jitter. It also has a hearing aid simulator, and a binaural spatialiser.

Here is a video demonstrating the hearing loss functions

https://www.youtube.com/watch?v=jtEL__hwmq0

The Test Application (the one you see in the videos) is available for MacOS, Windows and Linux at the following link:

https://github.com/3DTune-In/3dti_AudioToolkit/releases/latest

At the link above, you can also download the VST plugin, both for MacOS and Windows, as well as the Unity wrapper

Best
Lorenzo

--
Lorenzo Picinali
Professor in Spatial Acoustics and Immersive Audio
Dyson School of Design Engineering
Imperial College London
Dyson Building
Imperial College Road
South Kensington, SW7 2DB, London
E: l.picinali@xxxxxxxxxxxxxx

https://profiles.imperial.ac.uk/l.picinali
https://www.axdesign.co.uk/

From: AUDITORY - Research in Auditory Perception <AUDITORY@xxxxxxxxxxxxxxx> on behalf of Pragati Rao <pragatir@xxxxxxxxx>
Sent: Friday, March 7, 2025 10:26 PM
To: AUDITORY@xxxxxxxxxxxxxxx <AUDITORY@xxxxxxxxxxxxxxx>
Subject: [AUDITORY] Hearing Loss simulator for processing audio files
 
Dear Colleagues, 

I am looking for a hearing loss simulator that can simulate the impact of IHC and OHC loss when a given audiogram is fed and then process audio files with that information. This is so that a more nuanced impact of various degrees of hearing loss/shapes of audiogram on specific audio files can be shown instead of using band-pass filtering. If you know of any such tools or can recommend any articles/labs which have developed these, please let me know.

Thanks,
Pragati