Noise canceling method and apparatus