Adaptive noise cancellation in a ventilation duct using a digital signal processor