Search found 54 matches

by dpoznan
Mon Apr 11, 2022 9:41 pm
Forum: Getting Started
Topic: mahalia 4.17..0-ro password
Replies: 1
Views: 2252

mahalia 4.17..0-ro password

I created an SD card with 4.17.0-r0 and booted my PHL system. However, I am unable to login via mha@10.0.0.1 I am able to access via the wifi, and get a login prompt, but cannot login. The passwd I used previously on 4.16.1 fails. Has mha passwd changed from 4.16.1? Is there a get started doc for ma...
by dpoznan
Sat Mar 26, 2022 11:31 am
Forum: Getting Started
Topic: MAC: No alsa driver for Jack
Replies: 2
Views: 9686

Re: MAC: No alsa driver for Jack

I found the device names to use and am able to get the simple sine generator to output to headset SAMPLERATE=48000 PERIOD=240 #[JACKD] Device ID = '51' name = 'MacBook Pro Microphone', internal name = 'BuiltInMicrophoneDevice' (to be used as -C, -P, or -d parameter) #[JACKD] Device ID = '44' name = ...
by dpoznan
Fri Mar 25, 2022 4:12 pm
Forum: Getting Started
Topic: MAC: No alsa driver for Jack
Replies: 2
Views: 9686

Re: MAC: No alsa driver for Jack

I changed my jackd invocation, and I am able to run the simple sine generatore cfg. I used: jackd -d coreaudio -r 48000 -p 240 >&1 | sed 's/^/[JACKD] /' & But I did get errors on #echo "connect mha" jack_connect MHA:out_1 system:playback_2 jack_connect MHA:out_2 system:playback_1 [...
by dpoznan
Thu Mar 24, 2022 8:22 pm
Forum: Getting Started
Topic: MAC: No alsa driver for Jack
Replies: 2
Views: 9686

MAC: No alsa driver for Jack

I am trying to run openMHA on my M1 Macbook Pro. I try to run a simple sine generator.. (my3.9) macbook2020@DansMacBook-Pro-2022 Poz_tools % python3.9 new_gen_sin.py Enter host name for sine generator: localhost select L, R or Both headset from hearingpi to the desired Mic (L R B): B Traceback (most...
by dpoznan
Thu Mar 17, 2022 9:47 pm
Forum: User Applications
Topic: equalize plugin
Replies: 4
Views: 4430

Re: equalize plugin

I have seen the equalize documentation. It is close to worthless. You comment: "In a nutshell, a vector needs to be provided that contains a linear gain value for each fft bin. The fft bins / frequency range depend on sampling rate and paramter values used in the STFT framework, e.g., the overl...
by dpoznan
Thu Mar 17, 2022 5:49 pm
Forum: User Applications
Topic: equalize plugin
Replies: 4
Views: 4430

equalize plugin

I would like to use the equalize plugin to implement the calibration of mic & speakers. Using a single peaklevel for a given frequency doesn't seem appropriate. However, I do not see any documentation on how one comes up with the gain values for equalize. Further, what is the frequency range tha...
by dpoznan
Fri Feb 04, 2022 9:02 pm
Forum: Software
Topic: Getting I/O error on writing
Replies: 3
Views: 3239

Re: Getting I/O error on writing

My code is now running. Not sure what changed. But don't want to waste any more time on this.


Dan..
by dpoznan
Wed Feb 02, 2022 10:05 pm
Forum: Software
Topic: Getting I/O error on writing
Replies: 3
Views: 3239

Re: Getting I/O error on writing

If I run the python code (again remote access to PHL) but instead of using the mha.set_val calls to implement the logic, I read the cfg file in via mha.read_cfg('gain.cfg') I get a correct execution... no error -rw-r--r-- 1 mha mha 1219560 Sep 20 13:19 1speaker_diffNoise_2ch.wav -rw-r--r-- 1 mha mha...
by dpoznan
Wed Feb 02, 2022 9:27 pm
Forum: Software
Topic: Getting I/O error on writing
Replies: 3
Views: 3239

Getting I/O error on writing

I am running a python code that runs the 00-gains/gain_getting_started.cfg as a python code connected remotely to PHL. I get the following error. Running: ['ssh', 'mha@10.0.0.1', 'sh', './StopMHA;cd', '/home/mha/Poz/Poz_examples/00-gain;mha', '--interactive', '--interface=10.0.0.1', '--port=33337'] ...
by dpoznan
Fri Jan 14, 2022 11:21 pm
Forum: Software
Topic: Python talking to mha
Replies: 1
Views: 2325

Python talking to mha

I want to communicate with mha remotely with python. In a cfg file one says: mha.mute_dummies.min = -120 In the python code I would say mha.set_val('mha.mute_dummies.min','-120') But how would I write mha.transducers.mhachain.split.bte.adm?read:/etc/mahalia/generic-hearing-aid/adm.cfg in my python c...