presets passed to mha

Post Reply
dpoznan
Posts: 52
Joined: Wed Jun 30, 2021 10:50 pm

presets passed to mha

Post by dpoznan » Sat Sep 04, 2021 12:20 am

I have a preset created via MatLab fitting GUI. I select it and have compression enabled and I can tell that it is being used by the PHL. I would like to understand the mechanism for passing the preset gains etc, into the device. Where does mha pick it up? It must be stored somewhere since it appears to be retained across reboots. Where is the gain info picked up and applied?

Thanks....

tobiasherzke
Posts: 109
Joined: Mon Jun 24, 2019 12:51 pm

Re: presets passed to mha

Post by tobiasherzke » Mon Sep 06, 2021 11:25 am

The Matlab fitting GUI stores audiograms and fittings in one or more .mat files on the computer where the fitting GUI executes. Look for recently changed .mat files in the directory from where you execute the fitting GUI.

dpoznan
Posts: 52
Joined: Wed Jun 30, 2021 10:50 pm

Re: presets passed to mha

Post by dpoznan » Mon Sep 06, 2021 2:19 pm

Where is the fitting passed to the PHL? Where in mha is the fitting received?

tobiasherzke
Posts: 109
Joined: Mon Jun 24, 2019 12:51 pm

Re: presets passed to mha

Post by tobiasherzke » Fri Sep 10, 2021 3:58 pm

dpoznan wrote:
Mon Sep 06, 2021 2:19 pm
Where is the fitting passed to the PHL?
I think in line 229 here: https://github.com/HoerTech-gGmbH/openM ... fit.m#L229
Where in mha is the fitting received?
It depends on the configuration. Inspect the value of sFit.addr in the debugger in that line to see for your case.

Post Reply