>First of all, by "sample", you mean "signal",
>not some one sample value, right?
Jan, Thanks for your comments. That wikipedia Spill article describes my issue very well. That is, you got my request exactly right (despite my signal vs sample terminology hassle). Anyway, I have two mics (
https://www.piksu.com/eps/tmp/mic1.wav and
https://www.piksu.com/eps/tmp/mic2.wav) and audible spill in both. I want to remove the spill from both. I am able to remove the spill in this specific case (with outstanding results) for example for mic1.wav with commands
sox mic2.wav mic2id.wav pad 0.0115 0 vol -0.13
sox -m -v 1 mic1.wav -v 1 mic2id.wav mic1clean.wav stat
i.e. by inverting the other mic and mixing that _at suitable_ point in time and suitable power to the signal to be cleaned. The problem is that finding those values ("point in time" 0.0115 and power/"volume" -0.13) is cumbersome. Basically, I am after a command to find one given signal embedded in another given signal. Finding means finding the starting point in time and the volume of the to-be-removed signal.