Search found 52 matches

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

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

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

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

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

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

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

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

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...
by dpoznan
Fri Aug 13, 2021 6:30 pm
Forum: Software
Topic: mha startup in Mahalia
Replies: 13
Views: 7942

Re: mha startup in Mahalia

Thanks for the info. However, since the io lib that is now being used in Mahalia is MHAIOalsa, I think that the examples should be written to use alsa rather than Jack. All of the example cfg files use iolib = MHAIOFile or iolib = MHAIOJackdb or iolib = MHAIOJack. The examples need to be updated rat...
by dpoznan
Thu Aug 12, 2021 10:13 pm
Forum: Software
Topic: mha startup in Mahalia
Replies: 13
Views: 7942

Re: mha startup in Mahalia

Thanks for the info... Now next... where does Jack get started? When I try to run the following... I get an error due to JACK server not being available... mha [2] ?read:gain_live_getting_started.cfg (MHA:success) mha [3] cmd=start (mhafw_lib) IO error: (mhajack) Unable to connect to JACK server 'de...