Page 1 of 1

presets passed to mha

Posted: Sat Sep 04, 2021 12:20 am
by dpoznan
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....

Re: presets passed to mha

Posted: Mon Sep 06, 2021 11:25 am
by tobiasherzke
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.

Re: presets passed to mha

Posted: Mon Sep 06, 2021 2:19 pm
by dpoznan
Where is the fitting passed to the PHL? Where in mha is the fitting received?

Re: presets passed to mha

Posted: Fri Sep 10, 2021 3:58 pm
by tobiasherzke
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.