Page 1 of 1
wav file input and line or BTE output
Posted: Sat Oct 16, 2021 4:23 pm
by dpoznan
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..
Re: wav file input and line or BTE output
Posted: Sun Oct 17, 2021 9:10 am
by hendrikkayser
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
Re: wav file input and line or BTE output
Posted: Tue Oct 19, 2021 7:27 pm
by dpoznan
Thanks, That was very helpful.
Dan..