Search found 52 matches

by dpoznan
Sat Oct 16, 2021 4:23 pm
Forum: Software
Topic: wav file input and line or BTE output
Replies: 2
Views: 3059

wav file input and line or BTE output

Is there a way to specify iolib = MHAIOFile for the input and iolib = MHAIOalsa for the output.

Essentially I want to listen to a .wav file using mha.


Dan..
by dpoznan
Tue Oct 05, 2021 11:58 pm
Forum: User Applications
Topic: can one produce a data flow graph
Replies: 1
Views: 2541

can one produce a data flow graph

Since the cfg file really defines a data flow graph with connected plugins, is there a tool that will display the graph. This would be very useful in debugging cfg files and in understanding the examples. I am used to coding for FPGAs where compute is done via data flow rather than instruction execu...
by dpoznan
Tue Oct 05, 2021 12:54 am
Forum: User Applications
Topic: Debugging cfg files
Replies: 6
Views: 4117

Re: Debugging cfg files

Changed mha.algos=[route:sort_input rmslevel gain route:sort_output gain:mute_dummies] to mha.algos=[route:sort_input rmslevel:rd1 gain route:sort_output gain:mute_dummies acmon] in the cfg file, and access the rms vac vars via print("mha.acmon.rd1_level_db:",mha.get_val('mha.acmon.rd1_lev...
by dpoznan
Mon Oct 04, 2021 10:14 pm
Forum: User Applications
Topic: Debugging cfg files
Replies: 6
Views: 4117

Re: Debugging cfg files

I can't seem to get the python code to get a value from rmslevel as a way of debugging cfg files. I am running the following cfg nchannels_in = 8 srate=24000 fragsize=55 iolib=MHAIOalsa io.in.device=hw:0 io.out.device=hw:0 io.priority=90 # MHA library name mhalib = mhachain mha.algos=[route:sort_inp...
by dpoznan
Sun Oct 03, 2021 4:32 pm
Forum: User Applications
Topic: Debugging cfg files
Replies: 6
Views: 4117

Re: Debugging cfg files

I wrote a python code that uses mha.get_val() via 10.0.0.1:33337 on my Mac.

Dan..
by dpoznan
Sun Oct 03, 2021 3:04 am
Forum: User Applications
Topic: Debugging cfg files
Replies: 6
Views: 4117

Re: Debugging cfg files

Thanks for your help. I will try it. BTW..How do you see the rmslevel output? In the log?

Dan..
by dpoznan
Thu Sep 30, 2021 12:12 am
Forum: User Applications
Topic: Debugging cfg files
Replies: 6
Views: 4117

Debugging cfg files

I am trying to convert the example 01-dynamic-compression to use headset and stereo mic and alsa for a PHL device. So I have to sort the input & output. I have made changes to include sort in a list of algos. I can run mha interactively on that cfg file but I get nothing. in headset or BTEs. I t...
by dpoznan
Mon Sep 06, 2021 2:19 pm
Forum: Software
Topic: presets passed to mha
Replies: 3
Views: 3089

Re: presets passed to mha

Where is the fitting passed to the PHL? Where in mha is the fitting received?
by dpoznan
Sat Sep 04, 2021 12:20 am
Forum: Software
Topic: presets passed to mha
Replies: 3
Views: 3089

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

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.