My computer fan makes a lot of noise which is very easily removed from a recording using Audacity. I would like to remove the noise live while I use my microphone to talk using other programs (e.g. Skype or an online game). Is that possible?
Unfortunately doing that would not cancel-out the sound.
Even if the unwanted noise was a constant tone of constant volume , (rather than unpredictable random noise) , the phase would have to match for destructive interference.
Red line is the result : it only goes flat , (i.e. silence) , when when red and green are anti-phase.
Turbulence in the moving air means the sound will always have a random quality and won’t cancel even if you do manage to get it close. Try it. Record some fan noise and open it below a voice recording you already made (again, Audacity doesn’t do anything live).
Select the whole track by clicking just above MUTE.
Effect > Invert.
Now use the volume slider on the left of the track and the Time Shift Tool (two sideways black arrows) to push the track around. See if you can get it to cancel.
Do Not move the microphone or anything in the room during this experiment. Any movement will affect the acoustic signature and kill the cancellation.