View Single Post
  #16   Report Post  
Posted to rec.audio.tech
Dave Platt Dave Platt is offline
external usenet poster
 
Posts: 169
Default Advice needed (was 'condensing water on microphones')

In article ,
Don Pearce wrote:

So using my original construct ([S + N] - N = S), there's no way that
using XOR instead of subtraction is going to get you there. The
nym-shifter just seems to have XOR on the brain for some reason. (Quite
possibly XOR *does* work in a similar circumstance in video work: I
don't know.)


Wouldn't have thought so. XOR is not a subtraction process in any
discipline that I am aware of. Unless he has redefined XOR, I suppose.
There is a lot of that sort of thing going on round here right about
now.


XOR is equivalent to subtraction (and addition!) in a modulo-2 number
field.

Useful in many cryptographic operations.

Not at all useful in audio, at least not for the original poster's
stated purpose of removing noise. Even if the audio is being
represented in the commonest numerical form (e.g. linear PCM, two's
complement), even the slightest amount of error in measuring or
quantizing the noise will usually result in *multiple* bits being
different between the "real" noise and the "noise to be subtracted".
Trying to XOR the two values together will thus result in many bits
being different between the "original S" and the "computed S", and the
noise level in the signal will probably increase almost as often as it
decreases.

--
Dave Platt AE6EO
Friends of Jade Warrior home page: http://www.radagast.org/jade-warrior
I do _not_ wish to receive unsolicited commercial email, and I will
boycott any company which has the gall to send me such ads!