m-r-s / hearingaid-prototype

Instructions for building an almost consumer hardware based prototype of a hearing aid
GNU General Public License v3.0
113 stars 33 forks source link

how to run openMHA plugins #23

Open Gumilar92 opened 5 years ago

Gumilar92 commented 5 years ago

Hello,

im really new to openMHA, but currently working for preperation of my bachelor-thesis on a jack-based audio processing client. which is intended to developed a simulator of hearing aid device. and then my prof recommended me to learn this software, and hoping that i can create my own plugins (dunno what it means, but maybe apply my own algorithm in openMHA client).

i can already run my own algorithm in this hearing aid prototype, but how do i create plugins and runs it ?

thanks for the answer in advance

m-r-s commented 5 years ago

Hi!

I am very happy to hear that you were able to implement you own ideas based on our prototype. That was the very idea when we decided to publish it.

I wrote a jack client myself (like you did), but I did not find the time to put the code in a openMHA plugin. The main advantage would be to be able to change parameters while the signal processing is running and the possibility to combine your processing with other MHA plugins.

If I were you, I would start here [1], where the openMHA project provides example code. Maybe looking at the code and the corresponding description in the developer manual [2] you might find a way.

I hope this helps.

Best wishes and good luck, Marc

[1] https://github.com/HoerTech-gGmbH/openMHA/tree/master/examples/00-gain [2] https://github.com/HoerTech-gGmbH/openMHA/blob/master/openMHA_developer_manual.pdf