Search code examples
delphiaudionoisecancellation

Active noise cancellation


I have programed a voice recognition program and I am have problems with the mic hearing me, over the computer playing music. I need software that can filter out the sound leaving the speakers from the sound entering the mic.

Is there software or a component (for Delphi) that would solve my problem?


Solution

  • You need to capture:

    1. computer output
    2. mic. input

    Then you need to find two parameters, depending of your mic. location and sound system delay. This two parameter is n-delay and k-amplify.

    Stream1[t+n]*k=Stream2[t]
    

    Where t = time. When you find this parameter then your resulting Stream, only speek mic. input will be

    Stream2[t]-Stream1[t+n]*k=MusicReductionStream[t]