Page 1 of 1

NAL-NL2 pipeline integration

Posted: Mon May 27, 2024 1:00 pm
by TeddyHuang
Hi,
I am new to OpenMHA, currently working on NAL-NL2 gain to process the audio.
After some instructions, I can get the gains using NALNL2 Wrapper, but what I got are the gains at 19 different frequency bands. But I am not sure how to use these gains on the audio, is there any example that I can follow?

Additionally, to obtain these gains, I need to invoke the wrapper separately. Is there a method to build the entire process end-to-end? Ideally, I would like to run a single file, provide the audiogram, demographic information, and WAV file, and then have the pipeline export the processed audio.

Thank you!!
Teddy

Re: NAL-NL2 pipeline integration

Posted: Tue May 28, 2024 7:52 am
by tobiasherzke
The offline fitting tool contained in openMHA preprocesses wav files with a dynamic compression prescription rule of your choice. Start it from Matlab or Octave by invoking

mhagui_fitting_offline

It can process multiple wav files at once.

The installation directory of the openMHA mfiles depends on your operating system, see https://github.com/HoerTech-gGmbH/openM ... LLATION.md. Add this directory to your Matlab/Octave path.