-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Trying to apply your imp_1199 to stereo input I get strange results. Using ecasound as the host, with stereo input "in.wav", if I do
ecasound -i:in.wav -o:out.wav -el:imp,1
then the output has processed audio in ch.2 only, with silence on ch.1. This is strange, because every other 1-in-1-out plugin processes all channels in parallel, e.g.
ecasound -i:in.wav -o:out.wav -el:amp,6
adds +6dB gain to both channels, as expected. If I understand correctly, this runs multiple instances of the plugin, one for each channel. I suspect multiple instances of imp_1199 just don't get along well.
Strangely, I can convolve ch.1 only by silencing ch.2 first, like so:
ecasound -i:in.wav -o:out.wav -chorder:1,0 -el:imp,1
and yet if I manually run one instance of imp_1199 per channel like this:
ecasound -a:L,R -i:in.wav -o:out.wav \
-a:L -chorder:1,0 -el:imp,1 \
-a:R -chorder:0,2 -el:imp,1
then I get silence on ch.1 again. Just changing one instance of "imp" to "amp" (or any other 1-in-1-out plugin) in the above gives non-zero output in both channels; the problem only occurs with two instances of "imp". Somehow the second instance of imp_1199 is clobbering the output of the first.
I looked through the imp_1199 code but can't see anything amiss. Any ideas?