Search found 22 matches

by tobiasherzke
Wed Apr 29, 2020 11:31 am
Forum: Software
Topic: Peak Level Calibration and wavrec Plugin
Replies: 1
Views: 435

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 scaling. The sa...
by tobiasherzke
Sat Mar 21, 2020 5:04 pm
Forum: Software
Topic: Floating point accuracy of MHA parser variables
Replies: 2
Views: 1066

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

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

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

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 computational...
by tobiasherzke
Fri Feb 28, 2020 7:22 am
Forum: Software
Topic: mhacontrol warning: Index in position 1 exceeds array bounds.
Replies: 8
Views: 6486

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

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

(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: 1860

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

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...