Search found 81 matches

by tobiasherzke
Wed Jan 19, 2022 7:41 am
Forum: Connect openMHA to Matlab
Topic: Control Frequency Shifter using Octave/Matlab GUI
Replies: 3
Views: 5645

Re: Control Frequency Shifter using Octave/Matlab GUI

This can be caused by The Windows firewall. MHA allocates a TCP port for incoming connections. To investigate if the Windows firewall is responsible for your problem, the quickest way is to temporarily switch it off completely. If this solves the problem, switch it back on and fine-tune the firewall...
by tobiasherzke
Sat Jan 15, 2022 8:37 am
Forum: Software
Topic: Python talking to mha
Replies: 1
Views: 20

Re: Python talking to mha

how would I write mha.transducers.mhachain.split.bte.adm?read:/etc/mahalia/generic-hearing-aid/adm.cfg in my python code? mha.read_cfg('/etc/mahalia/generic-hearing-aid/adm.cfg','mha.transducers.mhachain.split.bte.adm') What are the other functions that are used in python besides set_val()? Where i...
by tobiasherzke
Thu Nov 18, 2021 8:43 am
Forum: User Applications
Topic: can one produce a data flow graph
Replies: 1
Views: 691

Re: can one produce a data flow graph

openMHA does not have a flow graph visualizer. The closest that I could find is a rudimentary tool that scans running MHA instances, recognizes some special strings in the responses,, and produces .dot files which can then be processed by graphviz. E.g. this is the graph generated for openMHA exampl...
by tobiasherzke
Tue Oct 05, 2021 7:17 pm
Forum: User Applications
Topic: Debugging cfg files
Replies: 6
Views: 563

Re: Debugging cfg files

Good that you found a solution. With your solution, you are querying an AC variable that the rmslevel plugin publishes with the help of the acmon plugin. rmslevel also publishes the measured levels directly as configuration variables. To find out which configuration variables the rmslevel plugin pub...
by tobiasherzke
Sat Oct 02, 2021 4:06 pm
Forum: User Applications
Topic: Debugging cfg files
Replies: 6
Views: 563

Re: Debugging cfg files

When an MHA configuration does not produce the desired output, you should first check if the MHA is currently performing signal processing: state? If this does not respond with "running", then fix the error (check that cmd=start is executed, check asyncerror). When MHA runs but still does ...
by tobiasherzke
Fri Sep 17, 2021 2:10 pm
Forum: Software
Topic: Error: Error: Variable does not contain a valid scalar value
Replies: 3
Views: 648

Re: Error: Error: Variable does not contain a valid scalar value

Yes: you can change the source code of the gain plugin to make use of an AC variable and recompile the gain plugin.

It's open source after all.
by tobiasherzke
Wed Sep 15, 2021 4:13 pm
Forum: Software
Topic: Compile mha from source on M1 Macbook - error clang: error: the clang compiler does not support '-mcpu=cortex-a8'
Replies: 2
Views: 513

Re: Compile mha from source on M1 Macbook - error clang: error: the clang compiler does not support '-mcpu=cortex-a8'

clang: error: the clang compiler does not support '-mcpu=cortex-a8' Could the reason behind this be that this is an M1 MacBook Air, which does not use an Intel processor Yes, the configure script is confused. What is the output of uname -m on this computer? Do I need to set the variable COMPILEPREF...
by tobiasherzke
Wed Sep 15, 2021 9:39 am
Forum: Connect openMHA to Matlab
Topic: NAL-NL2 with MHA question
Replies: 1
Views: 767

Dynamic compressor fitting with MHA Matlab fitting tool

The Matlab fitting tool retrieves the filterbank frequency bands from a running MHA instance. In order to change the frequency bands in your MHA configuration and restart MHA in order to change the fitting frequencies.
by tobiasherzke
Fri Sep 10, 2021 3:58 pm
Forum: Software
Topic: presets passed to mha
Replies: 3
Views: 618

Re: presets passed to mha

Where is the fitting passed to the PHL? I think in line 229 here: https://github.com/HoerTech-gGmbH/openMHA/blob/master/mha/tools/mfiles/libmultifit.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 y...
by tobiasherzke
Fri Sep 10, 2021 3:46 pm
Forum: Software
Topic: Error: Error: Variable does not contain a valid scalar value
Replies: 3
Views: 648

Re: Error: Error: Variable does not contain a valid scalar value

AC variables can only be read by MHA plugins while they execute either their prepare() or process() callback. You cannot read them in the MHA configuration language.