Search found 110 matches
- Sat Jan 15, 2022 8:37 am
- Forum: Software
- Topic: Python talking to mha
- Replies: 1
- Views: 2617
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...
- Thu Nov 18, 2021 8:43 am
- Forum: User Applications
- Topic: can one produce a data flow graph
- Replies: 1
- Views: 3283
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...
- Tue Oct 05, 2021 7:17 pm
- Forum: User Applications
- Topic: Debugging cfg files
- Replies: 6
- Views: 4834
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...
- Sat Oct 02, 2021 4:06 pm
- Forum: User Applications
- Topic: Debugging cfg files
- Replies: 6
- Views: 4834
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 ...
- Fri Sep 17, 2021 2:10 pm
- Forum: Software
- Topic: Error: Error: Variable does not contain a valid scalar value
- Replies: 3
- Views: 5060
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.
It's open source after all.
- 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: 4151
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...
- Wed Sep 15, 2021 9:39 am
- Forum: Connect openMHA to Matlab
- Topic: NAL-NL2 with MHA question
- Replies: 1
- Views: 3808
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.
- Fri Sep 10, 2021 3:58 pm
- Forum: Software
- Topic: presets passed to mha
- Replies: 3
- Views: 3931
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...
- Fri Sep 10, 2021 3:46 pm
- Forum: Software
- Topic: Error: Error: Variable does not contain a valid scalar value
- Replies: 3
- Views: 5060
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.
- Fri Sep 10, 2021 3:41 pm
- Forum: Software
- Topic: Proper way to receive an AC variable from a plugin in a chain (especially lsl2ac)?
- Replies: 4
- Views: 4909
Re: Proper way to receive an AC variable from a plugin in a chain (especially lsl2ac)?
Looking only at the code snippets in the forum post: look fine to me.