Search found 109 matches

by tobiasherzke
Sat Feb 29, 2020 3:48 pm
Forum: Software
Topic: Converting between MHA signal types and self-developed object types
Replies: 1
Views: 2771

Signal representation adaptation

Adapting between different conventions of signal representation is something you need to do when you want to integrate existing C or C++ signal processing code into openMHA. It will always look something like this: // This is a sketch to point out the general idea. // The sketch will not work as is....
by tobiasherzke
Fri Feb 28, 2020 9:27 am
Forum: Software
Topic: Signal arrangement plugin types
Replies: 6
Views: 6012

Re: Signal arrangement plugin types

Right, the documentation for plugin resampling contains this warning: A synchronous resampling ringbuffer such as this causes varying computational loads in the outer processing buffer. It is therefore not real-time safe. Let me elaborate on this and address your questions: 1. "varying computat...
by tobiasherzke
Fri Feb 28, 2020 7:22 am
Forum: Software
Topic: mhacontrol warning: Index in position 1 exceeds array bounds.
Replies: 8
Views: 12170

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

Interim update: We could reproduce this error with Matlab 2019. A fix is currently in code review...
by tobiasherzke
Sat Feb 22, 2020 9:01 pm
Forum: Software
Topic: Signal arrangement plugin types
Replies: 6
Views: 6012

real-time safety of overlapadd

overlapadd is real-time safe. If you have found documentation saying different, please point us to that documentation so that we can investigate.
by tobiasherzke
Sat Feb 22, 2020 8:58 pm
Forum: Software
Topic: Signal arrangement plugin types
Replies: 6
Views: 6012

(mhafw_lib) The processing library returned invalid fragment size.

(mhafw_lib) The processing library returned invalid fragment size. This error occurs when your signal processing setup produces as output signal a different number of samples per audio channel than what it received. You can produce such a situation e.g. if you upsample the signal, but then do not do...
by tobiasherzke
Sat Feb 22, 2020 8:53 pm
Forum: Software
Topic: Signal arrangement plugin types
Replies: 6
Views: 6012

plugin overlapadd vs plugin combination wave2spec + spec2wave

You are correct. Plugin overlapadd behaves, in most cases, exactly as the combination of plugins wave2spec and spec2wave, with the difference that overlapadd needs to actively load another plugin which processes the STFT signal, while with the wave2spec + spec2wave combination you can place the STFT...
by tobiasherzke
Tue Feb 18, 2020 11:10 am
Forum: Software
Topic: Adding source files to path
Replies: 4
Views: 4052

Re: Adding source files to path

For this response I assume that you have followed the comilation instructions from https://github.com/HoerTech-gGmbH/openMHA/blob/master/COMPILATION.md, section on macOS: You are interested manually compiling a new plugin that is not part of openMHA, particularly how to set the compiler search paths...
by tobiasherzke
Mon Feb 17, 2020 7:56 am
Forum: Software
Topic: Adding source files to path
Replies: 4
Views: 4052

Re: Adding source files to path

Great that you want to run your code inside openMHA! We have no header named "algo.h" in openMHA, therefore I cannot tell you where to find it. It should be part of your own code. As for learning how to compile and link plugins for openMHA I would suggest that you delete one of the compile...
by tobiasherzke
Thu Feb 13, 2020 1:47 pm
Forum: Software
Topic: mhacontrol warning: Index in position 1 exceeds array bounds.
Replies: 8
Views: 12170

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

Thanks for sharing the additional information.

I could not reproduce this with octave 5.2.0. We will try to reproduce this with Matlab2018b.
by tobiasherzke
Mon Jan 06, 2020 3:04 pm
Forum: Software
Topic: Control dynamic compression
Replies: 1
Views: 2605

Re: Control dynamic compression

Hi, I am trying to understand what you did: I use the cfg-file from the example of the starting guide I suspect you are working through chapter 5 of that guide and are using configuration file dynamiccompression_live.cfg There I also select the hearing aid algorithm (e.g. NALRP). We call NAL-RP a &q...