Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6077187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:41:34+00:00 2026-05-23T10:41:34+00:00

I want to program software for noise canceling in real time, the same way

  • 0

I want to program software for noise canceling in real time, the same way it happens in earphones with active noise canceling. Are there any open algorithms or, at least, science papers about it? A Google search found info about non-realtime noise reduction only.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:41:34+00:00Added an answer on May 23, 2026 at 10:41 am

    from This site

    Active noise cancelling headphones in addition to all the normal headphone circuitry, have a microphone and additional special circuitry. At a basic level the microphone on the headphone picks up the ambient noise around you and relays it to the special circuitry. The special circuitry interprets the sounds and mimics it in an inverse (opposite) manner. The inverse sound it produces is sent through the headphone speakers and cancels out the ambient noise around you.

    All this is based on sound waves interference. When 2 waves of opposite phases interfere the result is no sound. (it works with light too.)

    You should have a look at the wikipedia page on waves interference to find the right phase you need to produce to cancel the outside noise

    For a sinusoidal system:

    Let’s take 2 waves :

    enter image description here

    and

    enter image description here

    We want to express the resulting wave as :

    enter image description here

    Given A1 you want to find A2 such that A0 = 0

    It means given Phi1 you need to find Phi2 such that A0=0

    You can prove that:

    enter image description here

    And solving A0 = 0 you will get the frequency of the wave you need to create to cancel the noise.
    It’s called destructive interferences.

    enter image description here

    Sound waves are not in 1 dimension… so you will just get the destructive interference in one direction:

    enter image description here

    Now you just need to find some stuff of sound signals…


    I will try to answer your comment.

    First:

    A 2D problem is not much more difficult that the 1D.

    The outside noise can be approximate as a source situated at the infinity.
    You will create a destructive noise with a source in your headphones, and you can assume that the amplitude is the same at equal distance of the source .

    You need to write that down on a x,y axis (it can be good to use polar coordinates)

    enter image description here

    and you will be able to get the amplitude on each point on the plan using simple trigonometry formulas like :

    :\sin (A + B) = \sin A \cdot \cos B + \cos A \cdot \sin B

    :\cos (A + B) = \cos A \cdot \cos B – \sin A \cdot \sin B

    :\sin (A – B) = \sin A \cdot \cos B – \cos A \cdot \sin B

    :\cos (A – B) = \cos A \cdot \cos B + \sin A \cdot \sin B

    Second:

    All the delays are modeled in the “Phi” of your destructive source. Can just Adapt the Calculated Phi so it takes the delay into account.

    You may need more specific information on sound since my information is very theoretic on any types of waves.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to program an anti distraction software like anti-social for windows since there
Hello fellow software developers. I want to distribute a C program which is scriptable
I want to write a program on Windows that does a sync via software
i want to develop a pretty basic client-server program. one software reads xml (or
Basically, i want to write a windows form program like any other webcam's control
I want to develop a program for MCB1700 evaluation board. Client software of PC
I am trying to program a plugin to bbPress (the open source forum software)
Basically, i want to write a windows form program like any other webcam's control
I want my program to change its window's caption in response to various user
I want to program a board game (similar to checkers) for the iPhone. Would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.