Search found 52 matches
- Fri Mar 25, 2022 4:12 pm
- Forum: Getting Started
- Topic: MAC: No alsa driver for Jack
- Replies: 2
- Views: 9358
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 [...
- Thu Mar 24, 2022 8:22 pm
- Forum: Getting Started
- Topic: MAC: No alsa driver for Jack
- Replies: 2
- Views: 9358
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...
- Thu Mar 17, 2022 9:47 pm
- Forum: User Applications
- Topic: equalize plugin
- Replies: 4
- Views: 3818
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...
- Thu Mar 17, 2022 5:49 pm
- Forum: User Applications
- Topic: equalize plugin
- Replies: 4
- Views: 3818
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...
- Fri Feb 04, 2022 9:02 pm
- Forum: Software
- Topic: Getting I/O error on writing
- Replies: 3
- Views: 2738
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..
Dan..
- Wed Feb 02, 2022 10:05 pm
- Forum: Software
- Topic: Getting I/O error on writing
- Replies: 3
- Views: 2738
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...
- Wed Feb 02, 2022 9:27 pm
- Forum: Software
- Topic: Getting I/O error on writing
- Replies: 3
- Views: 2738
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'] ...
- Fri Jan 14, 2022 11:21 pm
- Forum: Software
- Topic: Python talking to mha
- Replies: 1
- Views: 1882
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...
- Wed Nov 10, 2021 11:35 pm
- Forum: Software
- Topic: calibration
- Replies: 1
- Views: 2116
calibration
Using the measure_response.m Matlab code to calibrate my PHL I see that one is trying to achieve a 80dB SPL reading using a sound level meter. The input to the speaker is produced using the sine plugin to produce input to the speaker. The levels are RMS in dB SPL FF. The sine levels are negative. So...
- Tue Oct 19, 2021 7:27 pm
- Forum: Software
- Topic: wav file input and line or BTE output
- Replies: 2
- Views: 3060
Re: wav file input and line or BTE output
Thanks, That was very helpful.
Dan..
Dan..