Search found 34 matches

by hendrikkayser
Tue Nov 09, 2021 10:18 pm
Forum: User Applications
Topic: Unable to read .cfg files
Replies: 5
Views: 2721

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

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

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

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

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

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

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

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...
by hendrikkayser
Wed Jul 28, 2021 9:49 am
Forum: User Applications
Topic: Manually Entering a Fitting
Replies: 2
Views: 2218

Re: Manually Entering a Fitting

Hi Dan, if you want to create arbitrary gain rules the dc plugin would be the one of your choice. It uses a gaintable that describes which gain is applied in which band depending on the input level in it 'gtdata' parameter and the related ones 'gtmin' and gtstep'. The Matlab fitting tool basically g...
by hendrikkayser
Thu Jul 15, 2021 5:38 am
Forum: Hardware
Topic: Microphone connection
Replies: 3
Views: 5065

Re: Microphone connection

The headset is a Roland CS-10 EM.