Search found 54 matches

by dpoznan
Wed Nov 10, 2021 11:35 pm
Forum: Software
Topic: calibration
Replies: 1
Views: 2451

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...
by dpoznan
Tue Oct 19, 2021 7:27 pm
Forum: Software
Topic: wav file input and line or BTE output
Replies: 2
Views: 3448

Re: wav file input and line or BTE output

Thanks, That was very helpful.

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

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

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

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

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

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

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

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

Re: presets passed to mha

Where is the fitting passed to the PHL? Where in mha is the fitting received?