Search found 109 matches

by tobiasherzke
Thu Nov 18, 2021 8:43 am
Forum: User Applications
Topic: can one produce a data flow graph
Replies: 1
Views: 2242

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: 3726

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: 3726

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: 3619

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: 2816

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: 2539

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: 2748

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: 3619

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.
by tobiasherzke
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: 3346

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.
by tobiasherzke
Mon Sep 06, 2021 11:25 am
Forum: Software
Topic: presets passed to mha
Replies: 3
Views: 2748

Re: presets passed to mha

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.