Search found 54 matches

by dpoznan
Sat Sep 04, 2021 12:20 am
Forum: Software
Topic: presets passed to mha
Replies: 3
Views: 3531

presets passed to mha

I have a preset created via MatLab fitting GUI. I select it and have compression enabled and I can tell that it is being used by the PHL. I would like to understand the mechanism for passing the preset gains etc, into the device. Where does mha pick it up? It must be stored somewhere since it appear...
by dpoznan
Fri Aug 27, 2021 9:00 pm
Forum: Software
Topic: Conditionals in Configuration
Replies: 2
Views: 2945

Re: Conditionals in Configuration

Yes!

I think that this would work.

I would like to update the examples to run on PHL as well as other devices.
I think this approach is workable.

Thanks.
by dpoznan
Sun Aug 22, 2021 9:37 pm
Forum: Software
Topic: running. 16-node-red-gui-demo
Replies: 2
Views: 2881

Re: running. 16-node-red-gui-demo

Yes I was able to run the example node-red after stopping the node-red service
by dpoznan
Sun Aug 22, 2021 9:07 pm
Forum: Software
Topic: running. 16-node-red-gui-demo
Replies: 2
Views: 2881

Re: running. 16-node-red-gui-demo

I discovered that node-red, just like mahalia is started and stopped as a service.

So I believe just like mha, node-red has to be stopped by systemctl and then one can execute using
/opt/node-red/bin/node

I shall try it shortly.
by dpoznan
Sat Aug 21, 2021 4:22 pm
Forum: Software
Topic: running. 16-node-red-gui-demo
Replies: 2
Views: 2881

running. 16-node-red-gui-demo

I am attempting to run the 16-node-red-gui-demo example file on Portable Hearing Lab (PHL) device unsuccessfully. The example executes node-red, which I cannot find. I attempted to run node as follows: mha@mahalia:~/examples/16-node-red-gui-demo$ node /opt/node-red/bin/node-red 5 Aug 10:06:15 - [inf...
by dpoznan
Fri Aug 20, 2021 3:59 pm
Forum: Software
Topic: Conditionals in Configuration
Replies: 2
Views: 2945

Conditionals in Configuration

I would like to have the equivalent of #if (expression with $EnvVar) # Some cfg statements #else # some more cfg statement #end or something equivalent. I would like to be able to make a single cfg file that would work for Alsa and Jack In particular I want to be able to run the example codes on my ...
by dpoznan
Sun Aug 15, 2021 9:06 pm
Forum: Software
Topic: mha startup in Mahalia
Replies: 13
Views: 8747

Re: mha startup in Mahalia

So if I start jackd with mha@mahalia:~$ export JACK_NO_AUDIO_RESERVATION=1 mha@mahalia:~$ jackd -S -R -P90 -dalsa -r44100 -p64 -n2 jackdmp 1.9.12 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2016 Grame. Copyright 2016-2017 Filipe Coelho. jackdmp comes with ABSOLUTELY NO WARRANTY This is...
by dpoznan
Sun Aug 15, 2021 8:42 pm
Forum: Software
Topic: mha startup in Mahalia
Replies: 13
Views: 8747

Re: mha startup in Mahalia

I noticed that after I stopped mahalia, so that I could run mha interactively, jack daemon disappeared, but alsactl remained. Last login: Tue Aug 3 15:47:13 2021 from 10.0.0.132 mha@mahalia:~$ ps -el|grep alsa 4 S 0 210 1 0 99 19 - 773 - ? 00:00:00 alsactl mha@mahalia:~$ ps -el|grep jack 0 S 1000 49...
by dpoznan
Sun Aug 15, 2021 8:15 pm
Forum: Software
Topic: mha startup in Mahalia
Replies: 13
Views: 8747

Re: mha startup in Mahalia

So I turned on Jack by commenting out the "NOJACK=1" I get the following error when trying to run 00-gain example. mha [1] ?read:gain_live.cfg (MHA:success) mha [2] cmd=start (mhafw_lib) IO error: (mhajack) Unable to connect to JACK server 'default' as client 'MHA'. Something else need cha...
by dpoznan
Fri Aug 13, 2021 9:50 pm
Forum: Software
Topic: CAPE4ALL Driver ALsa Mapping
Replies: 1
Views: 2553

CAPE4ALL Driver ALsa Mapping

In this github site the Jack mappings are defined. Where are the definitions for Alsa? https://github.com/mahalia-bone/mahalia-utils/blob/master/docs/mahalia-distro.md CAPE4ALL DRIVER JACK MAPPING This may prove useful when writing openMHA configuration files. system:playback_1 # IC1 Left Playback D...