Search found 26 matches

by hendrikkayser
Sun Nov 14, 2021 9:29 am
Forum: User Applications
Topic: ?read:.. command starts automatically
Replies: 2
Views: 25

Re: ?read:.. command starts automatically

Hello, that behavior could be caused by the Node-Red GUI made for the generic-hearing-aid configuration which might be still running on your system. It periodically sends the start command to mha to activate the processing after finishing the load process of the GUI. Ssh into the system and execute ...
by hendrikkayser
Wed Nov 10, 2021 6:46 am
Forum: Software
Topic: mha startup in Mahalia
Replies: 13
Views: 1283

Re: mha startup in Mahalia

You may need to set up the Jack connections. Here is a list with the Jackport - device mappings: system:capture_1 --> BTE L front system:capture_2 --> BTE R front system:capture_3 --> Line in L system:capture_5 --> BTE L rear system:capture_6 --> BTE R rear system:capture_7 --> Line in R system:play...
by hendrikkayser
Tue Nov 09, 2021 10:18 pm
Forum: User Applications
Topic: Unable to read .cfg files
Replies: 5
Views: 45

Re: Unable to read .cfg files

Sorry, I had a typo in my last response. I have corrected it - your second version in your post is correct. The last error occurs because there is already a configuration active and a variable is locked. This may be due to your previous attempts or because the Mahalia system on the PHL automatically...
by hendrikkayser
Tue Nov 09, 2021 7:16 am
Forum: User Applications
Topic: Unable to read .cfg files
Replies: 5
Views: 45

Re: Unable to read .cfg files

Hello,
scp ... mha@10.0.0.1 copied your file to /home/mha, but '~' does not work here, try:

Code: Select all

?read:/home/mha/trial/gain_live_getting_started.cfg
by hendrikkayser
Thu Nov 04, 2021 11:23 am
Forum: User Applications
Topic: Unable to read .cfg files
Replies: 5
Views: 45

Re: Unable to read .cfg files

Hi, you're encountering two different issues here. The first one may be related to file permissions - the mha process on the PHL is run as the user mha, not as root. Scp the file to your system with mha@10.0.0.1:... and try again. Please report if that resolved your issue. The second issue is relate...
by hendrikkayser
Sun Oct 17, 2021 9:10 am
Forum: Software
Topic: wav file input and line or BTE output
Replies: 2
Views: 784

Re: wav file input and line or BTE output

Mixed iolibs are not possible, but for your case you can use
iolib = MHAIOalsa
and add the addsndfile plugin with
mode = replace
in your processing chain. This will replace the mic signals with the content of your .wav file.

Hendrik
by hendrikkayser
Wed Sep 08, 2021 8:53 am
Forum: Software
Topic: mha startup in Mahalia
Replies: 13
Views: 1283

Re: mha startup in Mahalia

Yes, on the PHL 8, 16, 24, 32, 48, and 96kHz are supported. If the -r parameter value set in JACK does not match a supported sampling rate, the next lower one is selected, but this is not reported in the terminal output.

You can use jack_bufsize to get the actual value.
by hendrikkayser
Sat Aug 14, 2021 3:01 pm
Forum: Software
Topic: mha startup in Mahalia
Replies: 13
Views: 1283

Re: mha startup in Mahalia

Please note that the examples provided with the openMHA software package are meant to be useful for all platforms that are supported by openMHA, i.e., computers that run Linux, Mac OS, and Windows operating systems. The latter two need to use JACK or audio files for sound in- and output with openMHA...
by hendrikkayser
Fri Aug 13, 2021 6:07 am
Forum: Software
Topic: mha startup in Mahalia
Replies: 13
Views: 1283

Re: mha startup in Mahalia

JACK is also started by the mahalia system service. You can do that manually with the following lines: export JACK_NO_AUDIO_RESERVATION=1 jackd -S -R -P90 -dalsa -dhw:boneaudioext -r<SRATE> -p<FRAGSIZE> -n2 Make sure that SRATE and FRAGSIZE match the values used in your openMHA configuration.
by hendrikkayser
Thu Aug 12, 2021 8:32 pm
Forum: Software
Topic: mha startup in Mahalia
Replies: 13
Views: 1283

Re: mha startup in Mahalia

Hi Dan, the mha process is started by a system service called "mahalia". Excecuting sudo systemctl stop mahalia will stop the service and the mha process accordingly. I recommend to let the service start once at boot time as it also sets some important sound device parameters. sudo systemc...