Search found 109 matches

by tobiasherzke
Sat Mar 05, 2022 4:24 pm
Forum: Connect openMHA to Matlab
Topic: Error using mhactl_java
Replies: 5
Views: 8286

Re: Error using mhactl_java

This may be the case, but a more likely explanation is that openMHA terminates while reading the config file because of some error. Two suggestions: 1) Verify that you can talk twice from Matlab to the openMHA instance before reading the configuration file, e.g. mha = mha_start mha_get(mha,'state') ...
by tobiasherzke
Fri Mar 04, 2022 10:47 am
Forum: Connect openMHA to Matlab
Topic: Error using mhactl_java
Replies: 5
Views: 8286

Re: Error using mhactl_java

This can also happen when the openMHA has exited because of an error. In this case, the previous error message should be inspected. This seems to have been the case here. viewtopic.php?t=156
by tobiasherzke
Fri Mar 04, 2022 10:34 am
Forum: Getting Started
Topic: Mac: Unable to load library MHAIOJackdb
Replies: 11
Views: 5156

Mac: Unable to load library MHAIOJackdb

Pre-built openMHA Mac instlallers up to version 4.17.0 are affected by a changed location of the Jack library and need this workaround if users want to use openMHA with recent Jack installations: openMHA's Jack modules link against the Jack library /opt/local/lib/libjack.0.dylib. Jack 1.9.20 install...
by tobiasherzke
Fri Mar 04, 2022 10:21 am
Forum: Getting Started
Topic: Mac: Unable to load library MHAIOJackdb
Replies: 11
Views: 5156

Re: Error using mhactl_wrapper>mhactl_wrapper_2 (line 64)

Thank you for sharing the additional information, and good to see that you could overcome the problem. To summarize: openMHA's Jack modules link against the Jack library /opt/local/lib/libjack.0.dylib. Jack 1.9.20 installs the Jack library as /usr/local/lib/libjack.0.dylib, however. As a workaround,...
by tobiasherzke
Sun Feb 27, 2022 8:41 pm
Forum: Getting Started
Topic: Mac: Unable to load library MHAIOJackdb
Replies: 11
Views: 5156

Re: Error using mhactl_wrapper>mhactl_wrapper_2 (line 64)

By the way, when the problem is solved, I want to move this whole conversation to another section of the forum, because it is currently in "Connect openMHA to Matlab", and the problem that you found is not specific to Matlab. I will also try to retitle the thread to something like "Ma...
by tobiasherzke
Sun Feb 27, 2022 10:30 am
Forum: Getting Started
Topic: Mac: Unable to load library MHAIOJackdb
Replies: 11
Views: 5156

Re: Error using mhactl_wrapper>mhactl_wrapper_2 (line 64)

I see that Hendrik has also posted a response in the meantime. This response does not take Hendrik's response into account, please regard them as independent alternatives. Reason: tried: '/opt/local/lib/libjack.0.dylib' (no such file), '/usr/lib/libjack.0.dylib' (no such file) Strangely, upon naviga...
by tobiasherzke
Sat Feb 26, 2022 12:18 pm
Forum: Getting Started
Topic: Mac: Unable to load library MHAIOJackdb
Replies: 11
Views: 5156

Re: Error using mhactl_wrapper>mhactl_wrapper_2 (line 64)

The Jack audio I/O plugins will only work if the Jack audio server has been installed (and has been started).

This looks like Jack is not installed. Please see macOS installation instructions:
To use the Jack audio plugin, the JackOSX distribution needs to be installed.
by tobiasherzke
Sun Feb 06, 2022 6:40 pm
Forum: Software
Topic: Getting I/O error on writing
Replies: 3
Views: 2369

Re: Getting I/O error on writing

Good that you have overcome the problem. There can be many reasons why a file cannot be opened for writing, ranging from directory permissions to file system errors. Here are some tips for debugging such a situation in order to get more information than just "Cannot open file for writing":...
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: 8312

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

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...