wav file input and line or BTE output

Post Reply
dpoznan
Posts: 52
Joined: Wed Jun 30, 2021 10:50 pm

wav file input and line or BTE output

Post by dpoznan » Sat Oct 16, 2021 4:23 pm

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

hendrikkayser
Posts: 34
Joined: Fri May 10, 2019 7:58 am

Re: wav file input and line or BTE output

Post by hendrikkayser » Sun Oct 17, 2021 9:10 am

Mixed iolibs are not possible, but for your case you can use
iolib = MHAIOalsa
and add the addsndfile plugin with
mode = replace
in your processing chain. This will replace the mic signals with the content of your .wav file.

Hendrik

dpoznan
Posts: 52
Joined: Wed Jun 30, 2021 10:50 pm

Re: wav file input and line or BTE output

Post by dpoznan » Tue Oct 19, 2021 7:27 pm

Thanks, That was very helpful.

Dan..

Post Reply