Search found 109 matches

by tobiasherzke
Mon Oct 05, 2020 3:06 pm
Forum: Hardware
Topic: DSI Touch Screen, In-ear headphones
Replies: 0
Views: 7785

DSI Touch Screen, In-ear headphones

This is the reproduction of a thread that was lost during a forum software upgrade failure. We have lost all forum posts posted between 01 Sep 2020 and 14 Sep 2020 during that upgrade. Below is a reproduction of the text of the lost posts: Date: Sun, 06 Sep 2020 04:52:21 GMT From: DL2BQA Hello I hav...
by tobiasherzke
Mon Oct 05, 2020 2:48 pm
Forum: User Applications
Topic: Taking into account the direct path
Replies: 0
Views: 7352

Taking into account the direct path

This is the reproduction of a thread that was lost during a forum software upgrade failure. We have lost all forum posts posted between 01 Sep 2020 and 14 Sep 2020 during that upgrade. Below is a reproduction of the text of the lost posts: Taking into account the direct path Date: Tue, 01 Sep 2020 1...
by tobiasherzke
Tue Aug 11, 2020 4:11 pm
Forum: Software
Topic: Advantages/disadvantages of using interface classes
Replies: 9
Views: 5903

Re: Advantages/disadvantages of using interface classes

So you are saying basically that writeaccess allows for the filter state to remain the same (which is desirable in my case), and valuechanged will reset its state after each update? No, this is not what I meant to say. Sorry for not being clear enough. If the initial state is filter=no, then your u...
by tobiasherzke
Sat Aug 08, 2020 8:52 am
Forum: Software
Topic: Advantages/disadvantages of using interface classes
Replies: 9
Views: 5903

Re: Advantages/disadvantages of using interface classes

I will share a bit of my code and I invite any recommendation as how to best approach this. I understand that you are in the process of modifying your code to add a runtime configuration class to your plugin, because you want to switch processing on and off during runtime with a boolean switch. And...
by tobiasherzke
Sun Jul 26, 2020 7:13 pm
Forum: Software
Topic: Advantages/disadvantages of using interface classes
Replies: 9
Views: 5903

Runtime configuration questions

1a) I have written a plugin already with a single interface class, and now I would like to be able to update some of the algorithm's parameters at runtime. How do I know what should stay in that class and what should be moved to the runtime config class? You do not actually move the parameters, but...
by tobiasherzke
Wed Jul 22, 2020 8:13 pm
Forum: Software
Topic: Advantages/disadvantages of using interface classes
Replies: 9
Views: 5903

Re: Advantages/disadvantages of using runtime configuration classes

You need an interface class (which implements the interface functions prepare(), release(), process(), constructor(),...) in every plugin. Whether you should use an additional runtime configuration class or not is the question. Advantages of using runtime configuration classes: You can allow configu...
by tobiasherzke
Tue Jun 09, 2020 5:20 pm
Forum: Software
Topic: openMHA + openCL
Replies: 1
Views: 2046

Re: openMHA + openCL

Yes, this piece of documention is somewhat hard to find. http://www.openmha.org/docs/openMHA_developer_manual.pdf section 2.2.1.1 last paragraph should explain the idea. See it applied like you need it here: https://github.com/HoerTech-gGmbH/openMHA/blob/master/mha/plugins/wave2spec/wave2spec.cpp#L1...
by tobiasherzke
Wed Apr 29, 2020 11:31 am
Forum: Software
Topic: Peak Level Calibration and wavrec Plugin
Replies: 1
Views: 2597

Re: Peak Level Calibration and wavrec Plugin

peaklevels are assigned in plugin transducers. wavrec is a separate plugin and has no knowledge of the peaklevels configured there. wavrec documentation is minimalistic. It says "wav file recorder". wavrec stores the audio samples on disk as they are processed inside MHA, without any scali...
by tobiasherzke
Sat Mar 21, 2020 5:04 pm
Forum: Software
Topic: Floating point accuracy of MHA parser variables
Replies: 2
Views: 3502

Re: Floating point accuracy of MHA parser variables

Floating point data representations as used in computers have limited accuracy. Not all decimal numbers can be stored with their exact value in a floating point data type on a computer. The numbers are rounded to the nearest value that can be represented. 0.99 for example cannot be represented exact...
by tobiasherzke
Mon Mar 09, 2020 2:47 pm
Forum: Software
Topic: mhacontrol warning: Index in position 1 exceeds array bounds.
Replies: 8
Views: 11939

Re: mhacontrol warning: Index in position 1 exceeds array bounds.

Update: The fix will be part of the next openMHA release. You can test and use it before we make the next release by replacing mfile mha_findid.m in your openMHA installation with this version: https://raw.githubusercontent.com/HoerT ... a_findid.m