Search found 109 matches

by tobiasherzke
Sun Jun 20, 2021 7:44 am
Forum: Connect openMHA to Matlab
Topic: Question regarding target REIGs in openMHA
Replies: 4
Views: 3552

Re: Question regarding target REIGs in openMHA

No, this is not a feature of this GUI. In order to access all insertion gains, you would have to extract (with mha_get()) the gtdata matrix from the MHA dc plugin that you have just fitted.
by tobiasherzke
Wed Jun 16, 2021 6:18 pm
Forum: Connect openMHA to Matlab
Topic: Question regarding target REIGs in openMHA
Replies: 4
Views: 3552

Re: Question regarding target REIGs in openMHA

Your graphs for 20dB pantonal hearing loss show amplification for frequencies above 500Hz. Please refer to the openMHA Fitting GUI manual for an explanation of the display. I hope this helps, please ask follow-up questions here if anything remains unclear so that we can improve the documentation.
by tobiasherzke
Mon May 31, 2021 3:23 pm
Forum: Getting Started
Topic: dynamic compressor question
Replies: 3
Views: 3402

Re: dynamic compressor question

Each entry in the shapes matrix is a weight factor with which each STFT bin is mapped to each band. For rectangular filters, you will see mostly ones and zeros. I suggest plotting the shapes with Matlab or octave to inspect the shapes: mesh(mha_get(mhahandle,'path.to.fftfilterbank.shapes')) (Adapt p...
by tobiasherzke
Fri Apr 16, 2021 11:28 am
Forum: Connect openMHA to Matlab
Topic: edit openMHA code and get private variables
Replies: 8
Views: 6544

Re: edit openMHA code and get private variables

Two possibilities:

1. Use a debugger, set breakpoints, display the variables you are interested in.

2. Hack the source code to export the data that you are interested in in some suitable form, recompile.

It's all open source after all.
by tobiasherzke
Thu Apr 15, 2021 7:26 pm
Forum: Connect openMHA to Matlab
Topic: edit openMHA code and get private variables
Replies: 8
Views: 6544

Re: edit openMHA code and get private variables

Not every C++ variable that you find in the source code of the plugins is exported to the configuration tree, and therefore not every C++ variable is accessible from Matlab. You can find the accessible configuration variables for each plugin in the plugin manual, http://www.openmha.org/docs/openMHA_...
by tobiasherzke
Wed Apr 14, 2021 4:34 pm
Forum: Connect openMHA to Matlab
Topic: edit openMHA code and get private variables
Replies: 8
Views: 6544

Re: edit openMHA code and get private variables

Please clarify what you want to achieve, e.g. by giving an example of the desired outcome.
by tobiasherzke
Fri Mar 05, 2021 1:59 pm
Forum: User Applications
Topic: Questions about time constants in dynamic compressor dc
Replies: 8
Views: 6005

Re: Questions about time constants in dynamic compressor dc

Yes the conversion to dB is done by MHASignal::pa22dbspl. See its documentation here: http://mha.hoertech.de/doc/master/namespaceMHASignal.html#adffb46b90b6e9460f06286bda1c6d1de mha_real_t MHASignal::pa22dbspl ( mha_real_t x, mha_real_t eps = 0.0f ) inline Conversion from squared Pascal scale to dB ...
by tobiasherzke
Wed Mar 03, 2021 5:11 pm
Forum: User Applications
Topic: Questions about time constants in dynamic compressor dc
Replies: 8
Views: 6005

Re: Questions about time constants in dynamic compressor dc

Computation of level from signal in openMHA does not need to know the peaklevel that you configured in plugin transducers. To understand how the level computation from STFT spectra works in openMHA, you need to be aware of two openMHA properties: 1) Central calibration. Because hearing aid signal pr...